Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: merging variable labels


From   David Airey <david.airey@vanderbilt.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: RE: merging variable labels
Date   Sat, 27 Mar 2004 10:48:10 -0600

I'll do that. Thanks, Nick!

-Dave


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
n.j.cox@durham.ac.uk

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/



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