I have 135 .dta files on a folder each for one month from 2004m1 to 2018m12. The files are called Emp200401.dta, Emp200402.dta ...
I would like to append all of them into one master dataset. I tried doing this using:
Code:
local fnames: dir "U:\Data\EmpCounts" files "*" foreach file of local fnames { append using `r(files)', all }
Code:
invalid file specification r(198);
0 Response to Appending multiple files
Post a Comment