The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » HIV » Merging HIV with Standard DHS datasets
Merging HIV with Standard DHS datasets [message #28563] Wed, 31 January 2024 08:20 Go to next message
Davis Amani is currently offline  Davis Amani
Messages: 1
Registered: January 2024
Member
Hi everyone.
I am using DHS datasets of East African countries to explore the relationship between violence, HIV and contraceptive use.
I have merged my datasets for all the countries. However, the final Congo and Rwanda datasets contain completely empty values in all columns related to violence module, unlike what I get after performing the same in Tanzania and Uganda. Annoyingly, when I merge Congo/Rwanda datasets with HIV datasets from another country I obtain value filled columns. Can someone help me understand what could be wrong. The attached file shows these observations

On a separate issue, I want to know how to apply the violence/HIV weights or any other weight in that matter but using R.
Re: Merging HIV with Standard DHS datasets [message #28610 is a reply to message #28563] Mon, 05 February 2024 15:41 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 888
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

I don't use R, but the part of our GitHub site that gives DHS indicators in R should help with your question about weights (https://github.com/DHSProgram/DHS-Indicators-R).

It sounds like you are saying you merged data from one country with data from another country. How are you doing this? DHS files from different surveys can be appended, but not merged. Can you clarify what you mean by "merge"?
Previous Topic: South Africa 2016
Next Topic: HIV knowledge
Goto Forum:
  


Current Time: Sat Nov 23 21:39:35 Coordinated Universal Time 2024