The DHS Program User Forum
Discussions regarding The DHS Program data and results

Home » Countries » Bangladesh » merging PR with IR with mother's line missing in PR (merging PR with IR for Bangladesh 2007 DHS with mother's line missing)
merging PR with IR with mother's line missing in PR [message #31834] Tue, 31 March 2026 06:50
na is currently offline  na
Messages: 1
Registered: March 2026
Member
Hello

I need to merge the children in PR with their maternal characteristics in IR.
I usually use this code (in R) to create the caseid variable in the PR file:

ba2007pr<-ba2007pr%>%
mutate(caseid=paste(hhid,"",hv112))

It worked for Bangladesh DHS 2004 PR file and also for other surveys.
However, Bangladesh DHS 2007 PR file has only NA values for the variable hv112.
I do not know how to merge them without the mother's line number.
What should I do? Am I missing something?

Best
Previous Topic: Re: What are these missing values of skilled ANC providers indicating?
Next Topic: Religion, Current Occupation variables not found in PR dataset for BDHS 22 dataset
Goto Forum:
  


Current Time: Sun Nov 15 00:45:52 EST 2026