The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use (other programs) » Issue with importing Individual Recode datasets for India for the years 2015-2016 on R (Issue with importing Individual Recode datasets for India for the years 2015-2016 on R)
Re: Issue with importing Individual Recode datasets for India for the years 2015-2016 on R [message #24377 is a reply to message #24374] Tue, 03 May 2022 17:34 Go to previous messageGo to previous message
Navya is currently offline  Navya
Messages: 8
Registered: May 2022
Member
Hi,

Thank you for your quick reply. I am sure I need to do the merge since although both CR and IR contain the domestic violence variables, I need the data for currently unmarried women from the IR file, who make up around 30% of the total women's sample in the 2005-2006 survey. Therefore, using IR as the base file rather than CR is necessary to ensure I don't lose important data.

I merged the datasets for 2005-2006 by v001, v002, v003 and v024 (which took into account the primary sampling unit, household number, respondent's/ individual's line number and state).

The issue only arises for the BR, HR and IR files for the years 2015-2016 (I only need the IR file), and gives the same error when I try to import the dataset as a .dta file rather than a .dat file. I was wondering if there's any way I can import the IR file to R using another method?

Thank you for your help!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Identifying siblings of a child that are below 1 years of age (R)
Next Topic: Complex sample in R(Weight DHS Data in R)
Goto Forum:
  


Current Time: Mon Feb 17 02:44:38 Coordinated Universal Time 2025