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
Problem with a program that will open a dataset with a user defined list of variablesHi all, I'm creating a STATA program that will: 1. open a dataset, 2. keep a user defined list of v…
Graphs with mi estimatesDear all, I am currently working with a multiple imputed survey and want to create graphs out of th…
matching variablesDear Statalist masters, I have a problem that I don't know how to code properly. I have investors (…
what does this mean?Number of obs = 20 F(3, 16) = 31.78 Prob > F = 0.0000 R-squared = 0.8438 Root MSE = 4.8689 -----…
Merged data is incorrectDear everyone, I really hope to get your advice. I am merging two dta files using command: merge 1:…
Subscribe to:
Post Comments (Atom)
0 Response to New version of vallabsave on SSC
Post a Comment