[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: rename variables with label values
Hi-
I have a strange data cleaning question and was hoping someone would
have a solution.
Is it possible to rename a list of variables with their label value
(meaning replace the variable name with the variable label)? My
labels identify the item numbers on a particular survey (but my
actual variable names are not too informative). I am looking for a
command like renvars, that will allow me quickly rename the variable,
but so far I have not been able to find something.
Thanks in advance for any advice.
Daphna
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/