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

st: RE: merging variable labels

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: merging variable labels
Date   Sat, 27 Mar 2004 14:53:51 -0000

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. 

[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:

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