Many people asked this quesion on 'batch appending' in many ways. Some of them are obscure so I tried the simpler ones, including the fs (ssc), but not getting anywhere. Does anyone have a concrete solution for this.
Problem: I've 39 datasets in the directory, and want to 1) append them in one shot, 2) keeping only selected variables from each datafile.
Thanks in advance...
Related Posts with Append all .dta files in directory
Stata 16 on CentOS/RHEL 7Hello, Has anyone had any luck getting Stata 16 to run on CentOS/RHEL 7? It seems like Stata has mo…
Problem with ranking observations in a uniform distributionDear all, I have a dataset where i have monthly observations of firms during multiple years. The fo…
"Estimates save" issue for using regression estimates from memory with outreg2Hi, I am having issues using the outreg2 command/estimates command. I have run a 3 regressions and s…
Count total number of non-missing strings in a rowHi there! I am working on extracting information from text data and was wondering if there is a way…
If id in the data has too many levels (12k), how to set memory size?I have 12k individuals (id). When I run fixed effect models with i.id in Sata, I got errors. How to …
Subscribe to:
Post Comments (Atom)
0 Response to Append all .dta files in directory
Post a Comment