The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Merge two data set (Merge two DHS data set)
Merge two data set [message #27985] Tue, 31 October 2023 09:32 Go to next message
Khawar is currently offline  Khawar
Messages: 19
Registered: April 2023
Member
Dear Expert,

I need to merge the 2011-12 and 2017-18 Pakistan datasets. How to merge it.

Thanks

[Updated on: Tue, 31 October 2023 09:33]

Report message to a moderator

Re: Merge two data set [message #28004 is a reply to message #27985] Wed, 01 November 2023 12:05 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 909
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

The computer commands will depend on what statistical package you are using. In Stata, this is done with the "append" command, not with "merge". There have been other posts on appending data files and you can search for them. Note that if there have been any changes in the values labels for specific variables, such as geographic areas or education categories or sources of water, the labels for the first survey will be over-written by the labels for the second survey. Variables that have changed their definitions will have to be recoded in one survey or the other.
Previous Topic: Minimum Meal frequency in BDHS 2014
Next Topic: Difference between HW5 and HC70
Goto Forum:
  


Current Time: Sun Dec 22 07:39:22 Coordinated Universal Time 2024