The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » how to merge data files from different countries
how to merge data files from different countries [message #3519] Tue, 23 December 2014 03:39 Go to next message
aqeelazahra14@yahoo.com is currently offline  aqeelazahra14@yahoo.com
Messages: 5
Registered: December 2014
Member
Hi,

I want to analyse data by combining 4 or five countries.How can i create one file for data of india, pakistan and bangladesh using SAS.

Thanks
Re: how to merge data files from different countries [message #3524 is a reply to message #3519] Fri, 26 December 2014 00:13 Go to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member


In this case you don't want to "merge", you want to "append".

I usually work in Stata, but this link seems to say you can use "set" or a "proc append" command in SAS.

https://v8doc.sas.com/sashtml/lrcon/z1081414.htm


Previous Topic: HH head education level merge
Next Topic: Correct numbers for merging the household and individual files of the 2001 DHS Nepal
Goto Forum:
  


Current Time: Wed Dec 4 19:38:23 Coordinated Universal Time 2024