Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "David Radwin" <dradwin@mprinc.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: RE: automate selection of variables and observations from multiple CSV |
Date | Mon, 14 Mar 2011 12:22:37 -0700 (PDT) |
On second thought, rather than renaming variables, a much better idea would be to -generate- a variable that contains the year and month. Then you can -reshape- if necessary. David > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner- > statalist@hsphsun2.harvard.edu] On Behalf Of David Radwin > Sent: Monday, March 14, 2011 12:16 PM > To: statalist@hsphsun2.harvard.edu > Subject: st: RE: automate selection of variables and observations from > multiple CSV > > You can use a combination of for* loops in this fashion. You may also want > to -rename- some variables to include their month and year. * * 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/