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)
Related Posts with New version of vallabsave on SSC
Stata 17 Tables - Constructing a table from nlcom in 1 results?I would like to use the Stata 17 table functions to automate a results table. I have used nlcom to e…
controlling for fixed effectsNone …
Extract the variableHi everyone: I use the DISCRIM data from wooldridge dataset. I try to do regression on the variabl…
Creating variables in long formatHello, I am trying to create a variable "stage1_class" that represents different responses to lx_ite…
Generating new variableHi within a dataset I have been looking at there are 33 countries. I am trying to create a dummy var…
Subscribe to:
Post Comments (Atom)
0 Response to New version of vallabsave on SSC
Post a Comment