Statalist


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

st: rename variables with label values


From   daphna bassok <[email protected]>
To   [email protected]
Subject   st: rename variables with label values
Date   Fri, 08 Aug 2008 12:00:54 -0700

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/




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