The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » IPUMS Demographic and Health Surveys (IPUMS-DHS)  » merging issues with IPUMS-DHS and DHS individual data
merging issues with IPUMS-DHS and DHS individual data [message #24947] Sun, 07 August 2022 13:38
Specialkk is currently offline  Specialkk
Messages: 3
Registered: July 2021
Hi. I'm having some issues merging data from DHS individual files to IPUMS-DHS.
I have a IPUMS-DHS extract that contains variables from Malawi and Rwanda. I'm trying to add the precipitation contextual variables to this extract as well as the individual file from Rwanda and Malawi to the extract.

When I tried to add the precipitation file, I get the following error (I'm trying to merge using the dhsid variable as suggested in the user note) .:
variable precip_32 is double in master but str11 in using data

For the DHS individual files, I am trying to merge the IPUMS extract first with Malawi. I first created the idhspid variable in the Malawi dhs dataset as suggested in the user notes, but when I merge with the IPUMS extract, I get the following error message:
variable sample is long in master but str5 in using data

Thanks very much for your help!

[Updated on: Sun, 07 August 2022 13:43]

Report message to a moderator

Read Message
Previous Topic: Error Message when Extracting Data
Next Topic: Data harmonization
Goto Forum:

Current Time: Sat Apr 20 07:30:30 Coordinated Universal Time 2024