Hi everyone,
I want to read multiple fixed format-text files for multiple years into Stata. I have already read this message, but it was too complicated for me to follow. Can anyone guide me how can I read 18 text files with the names as follows: state05, state06, state07, state08. ....state22. The data in the text file is arranged as follows:
city name 1-2 (left most two digits)
blanks 3-14
item code 15-17
amount 18-29
survey year 30-31
year of data 32-33
origin 34-35
Any advice would be highly appreciated.
Ijaz
Related Posts with Reading fixed-format text files into STATA
Ytitle positionI want to reposition the title of the Y axis to where the red line I marked in the attached screensh…
How can I specify duplicated cases between two groups? id DOB year 1 901020 2014 2 981020 2014 3 841028 2014 4 790707 2014 5 800301 2014 6 9…
Importing .shp file to Stata with "long" varnameHello, I am trying to import a .shp shapefile containing English local authorities into Stata using…
from Stata IC to SEHi, currently my Stata version is IC. But it seems IC cannot deal with my large data set. When I run…
Margins after cmroprobitHello I have a dataset which looks as follows (the below is just an excerpt): caseid 7 7 7 7 8 8 …
Subscribe to:
Post Comments (Atom)
0 Response to Reading fixed-format text files into STATA
Post a Comment