DESCSAVE: Stata module to export data set and machine-readable codebook
descsave is an extension of describe, creating up to 2 output data sets. These are a Stata data file with 1 observation per variable and data on the descriptive attributes of each variable (name, storage type, format value label, variable label, and characteristics if specified), and also a do-file, which can be called to reconstruct these descriptive attributes. The do-file created by descsave can be used if the data set has been saved using outsheet and input again using insheet. This can be useful if the user wishes to create a definitive generic spreadsheet version of the data, and to know that the original Stata version can be reconstructed from the definitive generic version. However, descsave can also be used when the user uses parmest,label after a regression command, using xi dummy variables for multilevel factors, and then reconstructs these multilevel factors from the variable label in the parmest output data set, in order to create tables and/or plots of confidence intervals.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.