The DHS Program User Forum
Discussions regarding The DHS Program data and results
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 Go to previous messageGo to previous message
tnkunzimana is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mothers education for IYCF indicators
Next Topic: Minimum acceptable diet
Goto Forum:
  


Current Time: Fri Nov 8 23:49:25 Coordinated Universal Time 2024