Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Create dataset of variable names and variable labels


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Create dataset of variable names and variable labels
Date   Thu, 8 May 2008 17:36:00 +0100

Check out Roger Newson's -descsave-. -findit- finds locations of code
and commentaries. 

Nick
n.j.cox@durham.ac.uk 

Ronnie Babigumira

How can I create a small data set made up of variable names and variable
levels for some variables in a data set.

Something like this from the auto data

variable	var_label
make    	Make and Model
price   	Price
mpg     	Mileage (mpg)
length  	Length (in.)
trunk   	Trunk space (cu. ft.)


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index