The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset access » How to open up Geographic Dataset for Beginners. (Downloaded GQIS, how to proceed?)
How to open up Geographic Dataset for Beginners. [message #29230] Mon, 13 May 2024 13:04 Go to next message
ev231 is currently offline  ev231
Messages: 1
Registered: May 2024
Hi! I am working on a computer vision project training on households with electricity. I have inquiries on how to read the GPS Data. When we only select "Geographic Data" in the "File Data Type" section, we receive a few files of types we have never seen before (.DAT, .STX, etc). How can we read in the GPS data?
When we select both "Geographic Data" and "DHS" in the "File Data Type" section, the files mentioned above are not found. When we only download DHS data and select "Stata" type to download, we can open the .DTA file using Pandas and Python. However, if we download them with "Flat" type, we don't know how to read in the .DAT file.

Basically our end goal is to have a dataset that has a few indicators (specifically electricity) and the geographic coordinates as features (columns) and have each row a datapoint.

Would greatly appreciate guidance on how to open up these datasets!
Re: How to open up Geographic Dataset for Beginners. [message #29233 is a reply to message #29230] Mon, 13 May 2024 15:35 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3082
Registered: February 2013
Senior Member

Following is a response from Senior DHS Staff Member, Tom Pullum:

The DHS standard recode files are in Stata format (dta), SPSS (.sav), and SAS (.sas7bdat). Data files with the extension ".dat" are in ascii (text) format. Software exists to convert from one of these formats to another or to other formats.

Previous Topic: Information on the different variable
Goto Forum:

Current Time: Sun Jun 16 13:49:21 Coordinated Universal Time 2024