Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • New version of vallabsave on SSC

    Thanks as always to Kit Baum, a new version of the vallabsave package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of vallabsave.

    The vallabsave package is descrbed as below on my website. The new version is updated to Stata Version 16. It also adds a new module vallabtran to transfer value labels from one data frame to another. The other 2 modules (vallabsave and vallabload) now use vallabtran. This fixes a bug/feature in the old Stata Version 11 vallabload, which caused the sorted-by varlist in the current dataset to be reset to an empty varlist, although no resorting had been done.

    Users of versions of Stata from Version 11 to Version 15 can still download the old version of the vallabsave package (with the old bug/feature still uncorrected) from my website by typing, in Stata,

    net describe vallabsave, from(http://www.rogernewsonresources.org.uk/stata11)

    and nstallng the Stata Version 11 version of the vallabsave package. (However, it is probably a much better idea to upgrade to Stata Version 16, if you can possibly afford to.)

    Best wishes

    Roger


    ------------------------------------------------------------------------------
    package vallabsave from http://www.rogernewsonresources.org.uk/stata16
    ------------------------------------------------------------------------------

    TITLE
    vallabsave: Save and load value labels and transfer them between frames

    DESCRIPTION/AUTHOR(S)
    The vallabsave package contains 3 modules, vallabsave, vallabload
    and vallabtran. vallabsave saves a list of value labels
    (defaulting to all value labels in the current dataset) to a
    label-only Stata dataset in a disk file, containing no
    observations and no variables. vallabload uploads labels from a
    label-only Stata dataset in a disk file to the Stata dataset
    currently in memory. vallabtran transfers a list of value labels
    from one frame to another. Label-only Stata datasets are a
    sensible way of storing value labels in a disk file, if the labels
    may have text values that cannot be enclosed in compound quotes.
    Such labels cannot be stored using label save, or generated using
    label define, but they may be generated using encode, or using the
    SSC packages sencode and vallabdef.

    Author: Roger Newson
    Distribution-Date: 17september2019
    Stata-Version: 16

    INSTALLATION FILES (click here to install)
    vallabsave.ado
    vallabload.ado
    vallabtran.ado
    vallabsave.sthlp
    vallabload.sthlp
    vallabtran.sthlp
    ------------------------------------------------------------------------------
    (click here to return to the previous screen)


Working...
X