I have searched the forum and feel like this would be the proper time for the joinby command, but I am not getting the desired result. Any help is greatly appreciated.
Data A
Code:
. list hhid opn h13hhidc psubhh qsubhh education in 1/500 , sepby (hhid) +------------------------------------------------------+ | hhid opn h13hhidc psubhh qsubhh educat~n | |------------------------------------------------------| 1. | 010004 101 0100040 0 0 . | 2. | 010004 201 0100040 0 0 . | 3. | 010004 202 0100040 0 0 . | 4. | 010004 604 0100040 0 0 . | 5. | 010004 605 0100040 0 0 . |
Code:
. list hhid pn h13hhidc in 6/20, sepby (hhid) +-------------------------+ | hhid pn h13hhidc | |-------------------------| 6. | 010003 020 . | 7. | 010003 030 0100030 | |-------------------------| 8. | 010004 010 . | 9. | 010004 040 0100040 | |-------------------------| 10. | 010013 010 . | 11. | 010013 040 0100131 | |-------------------------| 12. | 010038 010 0100380 | 13. | 010038 040 0100380
0 Response to How to merge datasets using joinby?
Post a Comment