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 (2)
Re: Inquiry regarding data merging with DHS 2018 using R (2) [message #26138 is a reply to message #26110] Fri, 10 February 2023 12:00 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 888
Registered: April 2022
Senior Member
ollowing 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 data merging with DHS 2018 using R
Next Topic: Child age variable
Goto Forum:
  


Current Time: Sun Nov 24 16:20:25 Coordinated Universal Time 2024