Home » Data » Merging data files » How to merge IR, KR and HR files in stata (merging dataset)
How to merge IR, KR and HR files in stata [message #19867] |
Mon, 24 August 2020 02:00 |
Kaung Suu
Messages: 2 Registered: August 2020
|
Member |
|
|
Dear DHS expert,
May I request your kind guidance on how can I merge IR, KR, and HR files in STATA?
Currently, I am using the following command. But the total observations are multiplied.
use "HR"
rename hv001 v001
rename hv002 v002
merge m:m v001 v002 using "KR"
drop _merge
merge m:m v001 v002 using "IR"
Thank you and looking forward to your kind reply.
Best,
Kaung Suu
|
|
|
Goto Forum:
Current Time: Sun Dec 22 17:00:27 Coordinated Universal Time 2024
|