The easiest way, I guess, is to copy the
second file to make a do file. Each line
should then be prefixed with
label var
and each explanation should be bracketed
within " ". With a decent text editor it
should be fairly straightforward.
Nick
[email protected]
David Airey
> I was sent two files, one containing data that could be
> imported using
> insheet, with variable names in the first row, and the other
> containing
> variable names and a short explanation of each variable. Is there an
> easy way to label the variables with the explanations without typing
> them in by hand using the label variable command?
*
* 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/