Merging the Xsample datafile to the main survey
I am trying to merge (using pidp variable) the xsample datafile from the COVID-19 survey to a preprepared - long-format datafile of the main survey. However, the state showed the error "command merge is unrecognized".
Please find attached my do file and a screenshot of state.
Is the "merge" the only command to do that?
I appreciate your help!
Updated by Understanding Society User Support Team about 1 year ago
- Category set to Data management
- Status changed from New to Feedback
- % Done changed from 0 to 50
- Private changed from Yes to No
Please try the solutions from this statalist thread https://www.stata.com/statalist/archive/2004-05/msg01051.html and let us know if it helped.
UKHLS User Support Team