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
quarter, month, week variables representing their sequenceHi all I have date variable of the format ----------------------- copy starting from the nex…
How to count number of observations per idHi everyone, I have a large data with around 20,000 observations where V1 is the household ID that …
How to compute margins after meologit (for each dependent variable level)Problem solved. …
Flagging negative values within an idHi. My dataset has an id variable and a total amount variable. There are multiple observations per i…
Spline for Panel Regression (Random Effects)Hi all, I am modeling daily deaths per 100,000 from COVID-19 by country. Given the natural rise and…
Subscribe to:
Post Comments (Atom)
0 Response to New version of vallabsave on SSC
Post a Comment