The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use (other programs) » Reproducing reports in R using Github Code
Re: Reproducing reports in R using Github Code [message #25751 is a reply to message #25729] Mon, 05 December 2022 09:07 Go to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Dear Victor,

Thank you for your question.

It appears you are using the HR file not the PR file. The HR file is the household level data and contains the variables hv105_01, hv105_02, etc. to indicate each person living in the household (i.e. here the unit of analysis is the household).
The PR file is person recode file with data on each member of the household so the variable would be hv105. Here the unit of analysis is the individual in the household.

Please check that you are using the PR file and not the HR file.

Thank you.
Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Previous Topic: NFHS-5 Disability and health seeking
Next Topic: Difference DTA and SAV
Goto Forum:
  


Current Time: Tue Sep 16 11:52:08 Coordinated Universal Time 2025