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: RE: RE: automate selection of variables and observations from multiple CSV
From
"David Radwin" <[email protected]>
To
<[email protected]>
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: [email protected] [mailto:owner-
> [email protected]] On Behalf Of David Radwin
> Sent: Monday, March 14, 2011 12:16 PM
> To: [email protected]
> 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/