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 descrbed as below on my website. The new version is updated to Stata Version 16. It also adds a new module vallabtran to transfer value labels from one data frame to another. The other 2 modules (vallabsave and vallabload) now use vallabtran. This fixes a bug/feature in the old Stata Version 11 vallabload, which caused the sorted-by varlist in the current dataset to be reset to an empty varlist, although no resorting had been done.
Users of versions of Stata from Version 11 to Version 15 can still download the old version of the vallabsave package (with the old bug/feature still uncorrected) from my website by typing, in Stata,
net describe vallabsave, from(http://www.rogernewsonresources.org.uk/stata11)
and nstallng the Stata Version 11 version of the vallabsave package. (However, it is probably a much better idea to upgrade to Stata Version 16, if you can possibly afford to.)
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: 17september2019
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
IRT 2PL not replicable across Stata 16 MP on Linux vs Stata 16.1 IC on a PCHi everyone, Also posted here. The subject says it all: Results from Stata's internal -irt 2PL- com…
Creating a dummmy variableI have panel data for 850 companies between 2001 and 2019. In case a company had revenue < USD 10…
Running xtreg for a data subset (subset defined by a floating variable)Hi, I have panel data for 850 companies for years 2001-2019. I have created a floating variable to …
Vertical Dot Plot with whiskersHello Stata users- I'm a new Stata user and was looking for some advise. I'm trying to create a vert…
Proportions variableI am working with panel data and am trying to create a new proportional variable defined as the numb…
Subscribe to:
Post Comments (Atom)
0 Response to New version of vallabsave on SSC
Post a Comment