Hi everbody
I need to import 291 sas-files and convert them to stata-files. The files are e.g. called:
b1
b2
...
b50
k1
...
k10
l1
l_e2
lq1993
etc.
So their names are not systematic in anyways.
Is there a way to loop through all the datasets, thus importing the sas-files and saving them as stata-files?
If possible, I would like to import the sas-files located in one folder and store the converted stata-files in another folder.
Best,
Gustav
I need to import 291 sas-files and convert them to stata-files. The files are e.g. called:
b1
b2
...
b50
k1
...
k10
l1
l_e2
lq1993
etc.
So their names are not systematic in anyways.
Is there a way to loop through all the datasets, thus importing the sas-files and saving them as stata-files?
If possible, I would like to import the sas-files located in one folder and store the converted stata-files in another folder.
Best,
Gustav
Comment