Dear All, Suppose that I have the following 3 files (in fact, about 4,000 similar files). The file name is 1, 2, 4 with extension xlsx. I wish to import each file, then generate an `id' variable with values all equal to the file name 1, 2, and 4, for all observations in the file, respectively. Finally, I need to -append- them together. Any suggestions?
Related Posts with import many files and generate an `id' variable as the file name.
project management in StataI'm looking for a good way to do proper project management in Stata. Some info: 1) I have lots of d…
combining and/or expressionsGood afternoon, I have a panel dataset with observations from different countries and different year…
Replicate xi: results using xtregHello everyone. Hope you all are well. I am looking at this regression and dataset which was used …
non-convergent multiple group CFAs using gsemI am running a multiple group CFAs to test for measurement invariance across groups (sexes) on a sur…
margins "not estimable"Hi, I am trying to graph my results using the margins command, however, it returns the "not estimab…
Subscribe to:
Post Comments (Atom)
0 Response to import many files and generate an `id' variable as the file name.
Post a Comment