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
Combining duplicate names into oneHello everyone, I have a dataset containing data about Board Members and it is formatted like this:…
Difference-in-Difference analysis after PSMDear statist, I need your help. I am doing work that involves assessing the impact of issuing a spec…
putexcelGood day to everybody, just a couple of quick questions concerning the putexcel command in Stata 16…
Counting number of people by genderHi all, I am currently using Stata Version 14. In the sample data attached below, I have informatio…
Error calculating margins after melogit (could not calculate numerical derivatives -- discontinuous region with missing values encountered)Hello all, I am having trouble calculating margins after running a melogit with 3 levels. The comma…
Subscribe to:
Post Comments (Atom)
0 Response to Reading fixed-format text files into STATA
Post a Comment