Currently trying to append several CSV files into one on Stata (I understand the risk in doing this). All the files are located in one folder on my desktop.
I used the following code:
Code:
local filenames: dir "." files "*.csv" foreach f of local filenames { import delim using `"`f'"', clear gen source_file = `"`f'"' append using `building' save `"`building'"', replace }
Code:
invalid file specification r(198);
Any ideas on what I could do from here? Would greatly appreciate it!
0 Response to [HELP] Appending several CSV files together
Post a Comment