Dear all,
I looked for similar queries and couldn't find any, but of course, if you know of other "threads" let me know.
It's been months that I've been working on the following, I'd be very very grateful if you could help me with this. So here's a brief description of my dataset:
The dataset is renamed decently in the format (example):
FAMID_1968 INDIVID_1968 // INCOME_1968 NCHILD_1968 EMPSTAT_1968 // INCOME_1969 NCHILD_1969 EMPSTAT_1969 [+N: PENSION_1969...] // ...
Now there's my problem: the number of columns per year is not constant, and I don't think reshape is built for dealing with this situation. I wouldn't know how to implement (1) with variables emerging (for instance) the first time in 2013.
If you need more details or the actual scripts just let me know and I'll promptly get back to you.
Many many thanks in advance,
I looked for similar queries and couldn't find any, but of course, if you know of other "threads" let me know.
It's been months that I've been working on the following, I'd be very very grateful if you could help me with this. So here's a brief description of my dataset:
- It's in wide format: time runs horizontally.
- KEY: the number of variables for each year CHANGE.
The dataset is renamed decently in the format (example):
FAMID_1968 INDIVID_1968 // INCOME_1968 NCHILD_1968 EMPSTAT_1968 // INCOME_1969 NCHILD_1969 EMPSTAT_1969 [+N: PENSION_1969...] // ...
Now there's my problem: the number of columns per year is not constant, and I don't think reshape is built for dealing with this situation. I wouldn't know how to implement (1) with variables emerging (for instance) the first time in 2013.
If you need more details or the actual scripts just let me know and I'll promptly get back to you.
Many many thanks in advance,
Comment