The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » Merging data sets
Re: Merging data sets [message #24301 is a reply to message #24249] Fri, 15 April 2022 16:00 Go to previous message
admin is currently offline  admin
Messages: 43
Registered: November 2012
Following is response from DHS Research & Data Analysis Director, Tom Pullum:

There is almost never a reason to merge the PR and HR files. The PR file is a long version of the HR file and the HR file is a wide version of the PR file. The strictly household-level data is coded onto each person-level record in the PR file.

There are exceptions, however. Please identify the specific survey and say why you want to do this merge and we will try to help.

We now have repositories of code written in Stata and SPSS available on Github. Please reference these code repositories as a resource for code for matching or calculating DHS indicators. The code repositories can be found at:

Read Message
Read Message
Previous Topic: Merging KR dataset for Ethiopia to CR dataset
Next Topic: Mismatch of file names within the same survey
Goto Forum:

Current Time: Fri Sep 30 08:34:56 Coordinated Universal Time 2022