Thanks to Kit Baum, there is now a new version of the -descsave- package
downloadable from SSC (superseding yesterday's version). In Stata, type
ssc desc descsave
to find out more.
The -descsave- package is described as below on my website. The new version
has left-justified string formats for the string output variables -name-,
-type-, -format-, -vallab-, -varlab- and -charxx-, to harmonize with the
listing from -describe-.
Best wishes
Roger
--------------------------------------------------------------------------------------
package descsave from http://www.kcl-phs.org.uk/rogernewson/stata7
--------------------------------------------------------------------------------------
TITLE
descsave: Extension of describe creating output files
DESCRIPTION/AUTHOR(S)
descsave is an extended version of describe, which creates up to 2
output files.
One is a Stata data set with 1 observation per variable and data on
variable
attributes (name, type, format, variable label, value label, and
selected
characteristics). The other is a Stata do-file which reconstructs these
attributes when run, assuming that the variable exists and is of the
correct
mode (numeric or string). descsave can be used to reconstruct
variables that
have been output to a generic spreadsheet using outsheet and then
input using
insheet, or variables that have been extracted (using factext) from
the label
variable of an output data set created by parmby or parmest. (The
parmest and
factext packages are downloadable from this website or from SSC.)
Author: Roger Newson
Date: 23 April 2004
Stata version: 7
INSTALLATION FILES (click here to install)
descsave.ado
descsave.hlp
--------------------------------------------------------------------------------------
(click here to return to the previous screen)
--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson
Opinions expressed are those of the author, not the institution.