Code:
local files : dir "C:\Users\E.YILMAZ\Desktop\www.thingiverse.com\Strata_Data\splitted_data" files "*.dta"
cd "C:\Users\splitted_data"
list = []
foreach file in `files' {
cd "C:\Users\splitted_data"
use `file', clear
for each x in list {
drop if id == `x'
}
keep if over_threshold == 1
add_new_values_to_list
save "new_`file'", replace
}
0 Response to Storing values to a list and expand the list in each iteration
Post a Comment