The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use (other programs) » Opening databases in RStudio
Opening databases in RStudio [message #11747] Mon, 06 February 2017 11:59 Go to previous message
dasanchezp is currently offline  dasanchezp
Messages: 11
Registered: February 2017
Location: San Sebastian
Member
Dear DHS Program User Forum,

I downloaded many databases, but I realized RStudio does not get all the information (variables). Or maybe I am doing something wrong. I am reading the DHS Survey Manual and the Model Woman's Questionnaire and I found sections: 2 (Reproduction), 3 (Contraception), 4 (Pregnancy), 7 (Marriage and Sexual Activity) and 8 (Fertility Preferences), being these the sections of my interest. These sections should be in the women databases but I cannot find them.

For example, I downloaded Albania's database. Then, I opened ALIR50FL.SAV using R. In this file, I only have variables from V000 to V191, ML101 and from BIDX.01 to BIDX.05. Nothing else. I followed this code:

library(foreign)
df=read.spss("ALIR50FL.SAV", to.data.frame = TRUE)

Indeed, I mainly need the sections described above.

May you help me, please?

Thanks in advance.


Best regards,

David A. Sanchez P.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Disability prevalence question
Goto Forum:
  


Current Time: Wed Nov 27 08:21:53 Coordinated Universal Time 2024