I have complicated raw data that is formatted on "cards" and I cannot
determine how to make a dataset from these data.
This is the information that I have concerning these data:
DATASET 3
PART NAME Merged 1976, 1981, and 1987 Data
FILE STRUCTURE rectangular
CASE COUNT 1,427
VARIABLE COUNT 4,080
LRECL 86
RECORDS PER CASE 106
Can someone help me with this problem. I am a new Stata user and have only
used datasets up to this point, and not raw data. The data is in fixed
columns.
Thank you
Knowing that it is fixed columns is one important step. The other
information you will need is what those columns are. For each variable
that you are interested in, you need to know its name, starting position,
length, and type -- plus which "line" it is on. The latter remark related
to the fact that there are 106 records ("lines") per case. That is, the
data are in groups of 106 lines; some variables are on line 1 within each
group, some are on line 2, and so forth.