Thanks as always to Kit Baum, a new versionn 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. In the new version, the to(frame_name) option creates a new frame with the specified name, if no such frame already exists. This new frame will contain only value labels, and no variables.
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: 11august2020
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)
Related Posts with New version of vallabsave on SSC
treatment effects regression adjustmentsHello everyone, I am working on the treatment effects regression adjustments (treatment variable is…
How to change the values of timer in the unit of hours rather than the seconds?The output of command timer is in the unit of seconds, how to cite it and display the duration in se…
Creating a Vector with Missing DataI am currently working on two problems: The first is regarding how I could convert an existing vari…
Collinearity in FE RegressionHi, I am running a FE regression to study the effect of diversification (GSDiv) on firm performance …
How to cumulate the contents of string variables by id?As far as I know, sum is used for numberic variables, how about the string variables? Here is the da…
Subscribe to:
Post Comments (Atom)
0 Response to New version of vallabsave on SSC
Post a Comment