Hello,
I'm trying to append all the files in a folder together, and have the following code:
clear
local fnames: dir "$path\Data Input\Stata Sets" files "*.dta"
foreach file of local fnames {
append using "`file'", force
}
Unfortunately I keep getting an error that says r(601): Cannot find (filename) of the first filename in the folder. It was previously working, but has stopped working in the last couple times I've tried to run it.
Thanks, any help would be appreciated.
Related Posts with Appending Assistance
Comparing groups at timepoints after using MI and mixedHello, I am currently looking at a scale (PDI) measured every third month over a year (baseline, 3-,…
FE approach to nonlinear panel data - Is a Two-part model compatible?Dear Stata users, I have 31000 country-pairs (panel variable) during 17 years (time variable) and m…
IRT 2PL parametersHi, I am pretty new to Stata and IRT. Using IRT 2PL model, I tried to estimate item difficulty and …
Manipulating box plotsGood morning, Is it possible to redefine box plots, for example to have something more meaningful th…
Unusual font in the imported fileCould you please help me sort this out. The dta file after I import xlsx file shows the font in diff…
Subscribe to:
Post Comments (Atom)
0 Response to Appending Assistance
Post a Comment