So I have Stata data from a survey questionnaire split into multiple files to represent different sections of the survey (e.g. 'secc1' file which corresponds to the schooling / education section of the survey, 'seci' for immunization etc.). Issue is that while most sections have hhcode (household code) and idc (Person's identification code) and such things available to make merging easier, one section ('secl' which corresponds to "satsifaction with healthcare facilities" from the survey questionnaire) only has hhcode available and that doesn't seem to work as a unique identifier. I'm not sure how to go about merging this section with any of the others, or if it is even possible to do so in the first place. Someone mentioned using the duplicate command in some way to do something in this file that only has hhcode (household code) to make it fine for merging, but I'm not sure how that would work.
-
Login or Register
- Log in with

Comment