The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » How to merge a person-level data with a child-level data
Re: How to merge a person-level data with a child-level data [message #20011 is a reply to message #20008] Tue, 15 September 2020 07:53 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3043
Registered: February 2013
Senior Member

Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

Is your "dataset A" the HR file? If so, it will be much easier if you use the PR file, which is already equivalent to a reshaped (long) HR file. You can then just merge the PR and BR files. In the BR file, the line number of the child is b16. This corresponds to hvidx in the PR file.

If you reshaped (long) the HR file, which as I said is not necessary, the person-level index you are asking about would be hvidx.

The BR file contains children of all ages as well as children who have died. Therefore when you do a PR/BR merge there will be many BR cases that are not in the PR file.

 
Read Message
Read Message
Read Message
Previous Topic: Merging IR and PR 2016 UDHS
Next Topic: Merging Couple File with KR File NFHS-4 (India)
Goto Forum:
  


Current Time: Sat Apr 27 12:24:12 Coordinated Universal Time 2024