The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use (other programs) » Importing DHS to R studio
Importing DHS to R studio [message #12548] Tue, 13 June 2017 12:13 Go to next message
akhalif is currently offline  akhalif
Messages: 2
Registered: June 2017
Location: Atlanta, GA
Member
Hi all,
Trying to read in a DHS dataset to R studio. I've tried read.file and read.spss. From both, I get the error message "No such file or directory". When I use the import package in R studio, I get the error message " Failed to parse ["file"]: Invalid file, or file has unsupported features. "

Any advice?
Re: Importing DHS to R studio [message #12550 is a reply to message #12548] Wed, 14 June 2017 01:20 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 803
Registered: January 2013
Senior Member
See this link for an example using dta files.
Previous Topic: Applying correct strata in SAS
Next Topic: Reading data files into R Studio
Goto Forum:
  


Current Time: Sun Nov 24 09:04:29 Coordinated Universal Time 2024