Thanks once again to Kit Baum, a new version of the descgen 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 descgen.
The descgen package is described as below on my website. The new version corrects a few typos in the online help, and also adds a new characteristic charname for the variables generated by the charlist() option, containing, for each variable, the name of the dataset characteristic stored in that variable.
Best wishes
Roger
------------------------------------------------------------------------------
package descgen from http://www.rogernewsonresources.org.uk/stata10
------------------------------------------------------------------------------
TITLE
descgen: Add Stata dataset attribute variables to a xdir resultsset
DESCRIPTION/AUTHOR(S)
descgen is intended for use in output datasets (or resultssets)
produced by the xdir package, which have one observation for each
of a list of files, and data on directory names and file names. It
inputs the file name variable and (optionally) the directory name
variable, and generates a list of new variables, containing, in
each observation, Stata dataset attributes describing the Stata
dataset stored in the corresponding file. These attributes include
numbers of variables and observations and sizes of an observation
or of the dataset, and (optionally) dataset labels, dataset
characteristics or lists of variables in the dataset. If the
corresponding file is not a Stata dataset, then these dataset
attribute variables will have missing values.
Author: Roger Newson
Distribution-Date: 02march2019
Stata-Version: 10
INSTALLATION FILES (click here to install)
descgen.ado
descgen.sthlp
------------------------------------------------------------------------------
(click here to return to the previous screen)
Related Posts with New version of descgen on SSC
First occurrenceHi all, I have a dataset with the launch_date (data_lancio) for each molecule, which is repeated ov…
Testing text on local macro dereferenceBecause the Stata User's Guide PDF is printed in a typeface that does not display punctuation identi…
Using "if" and "and" commands while generating variablesI have a numeric variable, say x. A lot of values are 0. The rest are all positive. I want to create…
Merging annual data with quarterly dataHey everybody, I am having trouble with merging two of my data sets for the past 2 days. I have trie…
Merging one file with every other file in folderHello, I am trying to merge one file in a folder with every other file in it by looping through eve…
Subscribe to:
Post Comments (Atom)
0 Response to New version of descgen on SSC
Post a Comment