Hey everyone !
I'm attempting to merge panel surveys database ( LSMS ). The problem I encounter is that in some database I have more than one observations per individual. exemple I'm studying the crop harvested per households and for each households I have more than one line ( see below ):
Id Crop
1 123
1 124
1 125
2 127
2 123
3 209
And in other base I have just one observation per household. What I would like to is redesign the database to have only one observation per household in attempt to merge all the database.
I thought about creating dummie variables refering to the type of crop harvested, and to the others variable who have multiple observations but I can't imagine the time needed to do something like that for each database.
I may be not really clear on my explanations but if you know a shorter way to do that let me know.
Best regards
I'm attempting to merge panel surveys database ( LSMS ). The problem I encounter is that in some database I have more than one observations per individual. exemple I'm studying the crop harvested per households and for each households I have more than one line ( see below ):
Id Crop
1 123
1 124
1 125
2 127
2 123
3 209
And in other base I have just one observation per household. What I would like to is redesign the database to have only one observation per household in attempt to merge all the database.
I thought about creating dummie variables refering to the type of crop harvested, and to the others variable who have multiple observations but I can't imagine the time needed to do something like that for each database.
I may be not really clear on my explanations but if you know a shorter way to do that let me know.
Best regards
Comment