The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » About extracting information on household characteristics (BR file and PR file used interchangeably)
Re: About extracting information on household characteristics [message #28668 is a reply to message #28656] Mon, 19 February 2024 06:35 Go to previous messageGo to previous message
bugz is currently offline  bugz
Messages: 8
Registered: January 2024
Member
Hi thank you for your kind message,

I have a small issue again when merging the Mali 2001 wave MLBR41FL.dta, to MLHR41FL.DTA
*Variables hv001 hv002 do not uniquely identify observations in the using data

could you please let me know whether there is any issue in my code,


use MLHR41FL.DTA, clear
rename hv001 DHS
rename hv002 hh_ID
save HR.dta, replace


use MLBR41FL.dta, clear
rename v001 DHS
rename v002 hh_ID
save BR.dta, replace


use HR.dta, clear
merge m:1 DHS hh_ID in_line using BR.dta
variables DHS hh_ID do not uniquely identify observations in the
using data

[Updated on: Mon, 19 February 2024 06:36]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: v362 future intent to use contraception
Next Topic: DHS-MIS
Goto Forum:
  


Current Time: Thu Nov 28 03:47:57 Coordinated Universal Time 2024