Re: Merge Service Availability data with individual data for zimbabwe [message #20443 is a reply to message #20442] |
Mon, 02 November 2020 09:50 |
Bridgette-DHS
Messages: 3216 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
I will paste below the lines to do a merge with the IR file (without the paths to the files). If your question is about matching the results in a paper, we cannot help with that. But was this a DHS report?
use ZWSQ02FL.DTA , clear
rename acluster v001
sort v001
save ZWSQ02temp.DTA, replace
use ZWPR01FL.DTA , clear
sort v001
merge v001 using ZWSQ02temp.DTA
tab _merge
keep if _merge==3
drop _merge
|
|
|