Home » Topics » Nutrition and Anthropometry » DHS Burundi 1987
Re: DHS Burundi 1987 and 2010 [message #3923 is a reply to message #3370] |
Fri, 06 March 2015 13:32 |
tnkunzimana
Messages: 14 Registered: November 2014 Location: Italy
|
Member |
|
|
Dear Trevor-DHS,
I am struggling trying to merge data sets (HR, household) and (KR, children) in DHS2010 for Burundi. I tried many times but still have this in my results:
"variables v001 v002 do not uniquely identify observations in the master data" Can you tell me how you come up with your problem ?
Here is my codes:
*************************************
use "BUHR61FL.DTA", clear
ren hv001 v001
ren hv002 v002
sort v001 v002
save "BUHW6FL_temp.dta", replace
use "BUKR61FL.DTA", clear
sort v001 v002
merge 1:1 v001 v002 using "BUHW6FL_temp.dta"
drop _merge
save "BUHW6FL_BUKR6FL.dta", replace
************************************************************ *****
Many thanks in advance,
Tharcisse
Tharcisse Nkunzimana
Agricultural Economist
Scientific Officer/Food and Nutrition Security
|
|
|
Goto Forum:
Current Time: Sun Dec 8 01:39:06 Coordinated Universal Time 2024
|