Hey,
I am new to this community. This is my first ever post. I am dealing with monthly level data between 2007 and 2017 titled: sort_SCR_jan07, sort_SCR_feb07 ... sort_SCR_mar17
All files have the same variable names. I want to drop a few variables from every file, and to run that command in a loop over the entire list of 123 files. All files are in .dta format.
Kindly suggest how I should construct the loop.
Thank you in advance,
Pranav
I am new to this community. This is my first ever post. I am dealing with monthly level data between 2007 and 2017 titled: sort_SCR_jan07, sort_SCR_feb07 ... sort_SCR_mar17
All files have the same variable names. I want to drop a few variables from every file, and to run that command in a loop over the entire list of 123 files. All files are in .dta format.
Kindly suggest how I should construct the loop.
Thank you in advance,
Pranav
Comment