Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Automatically add prefaces to merged variables


From   Stephen Cranney <[email protected]>
To   [email protected]
Subject   st: Automatically add prefaces to merged variables
Date   Sat, 10 Nov 2012 10:31:00 -0500

Hi all,


I'm merging about thirty different datasets together to form one big
longitudinal one, and many of them have the same variables but
different values that change over time (household income, for
example). I could go through and rename all the relevant variables by
hand, but is there a quick and easy way to automatically preface every
variable from dataset X with a certain letter or number during the
process of or after merging?

Thanks in advance,

Stephen
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index