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 described as below on my website. The new version has a dslabel() option for the vallabsave module, so the user can specify a dataset label for the new value-label-only dataset.
Best wishes
Roger
-------------------------------------------------------------------------------
package vallabsave from http://www.rogernewsonresources.org.uk/stata11
-------------------------------------------------------------------------------
TITLE
vallabsave: Save and load label-only Stata datasets
DESCRIPTION/AUTHOR(S)
The vallabsave package contains 2 modules, vallabsave and vallabload.
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 appends a
label-only Stata dataset in a disk file to the Stata dataset currently
in memory, after checking that the Stata dataset in the disk file is a
label-only Stata dataset. 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 usng the SSC packages sencode and
vallabdef.
Author: Roger Newson
Distribution-Date: 21june2019
Stata-Version: 11
INSTALLATION FILES (click here to install)
vallabsave.ado
vallabload.ado
vallabsave.sthlp
vallabload.sthlp
-------------------------------------------------------------------------------
(click here to return to the previous screen)
0 Response to New version of vallabsave on SSC
Post a Comment