I'm appending separate country files in to one (US_1.dta, US_2.dta.........GB_1.dta,GB_2.dta). All of the files are stored in the same folder.
The code I'm using currently to do this is .
Code:
use US_1.dta forvalues i = 2 / 5 { append using US_part`i' } save US.dta
Thanks
Ciaran
0 Response to Loop to append files using two macros
Post a Comment