The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nigeria » Inquiry regarding data merging with DHS 2018 using R
Re: Inquiry regarding data merging with DHS 2018 using R [message #26137 is a reply to message #26109] Fri, 10 February 2023 11:59 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 938
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

You posted two related emails but I hope this response will help with both of them.

The PR file has one record for each household member. It is just a long version of the HR file, which has one (very wide) record for each household. If you want to select certain types of household members, in your case children age 6-59 months, you do this with the PR file. Each record in the PR file retains the information about the household as a whole, such as wealth quintile (hv270).

The child's age in months is given by hc1 in the PR file. You would select the cases with hc1>=6 & hc1<=59. To repeat, no merging is needed to get these cases.
 
Read Message
Read Message
Previous Topic: Inquiry regarding DHS 2018 analysis using R
Next Topic: Inquiry regarding data merging with DHS 2018 using R (2)
Goto Forum:
  


Current Time: Mon Mar 3 03:55:10 Coordinated Universal Time 2025