Re: Reproducing reports in R using Github Code [message #25751 is a reply to message #25729] |
Mon, 05 December 2022 09:07  |
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
|
|
|