The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » How to merge DHS databases of different countries
Re: How to merge DHS databases of different countries [message #12450 is a reply to message #12449] Fri, 19 May 2017 12:05 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3214
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:


If you are using Stata, then the "egen group" command will probably be easier and safer than adding 1000, or 2000, etc. If you are not using Stata, then adding those numbers may be easier. You do not need to do any manipulation before appending the files, so long as you have a unique identifier for each survey, as I suggested. So long as you have a "survey" variable or other unique identifier, you can do all your survey-specific edits, etc., AFTER the appending. Note: do not rely on v000 or hv000 as survey identifiers. There are many cases of two different surveys, conducted close together in time, having the same values of v000 or hv000.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Merging KR and IR
Next Topic: Linking parents to children
Goto Forum:
  


Current Time: Sun Dec 22 14:45:01 Coordinated Universal Time 2024