The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Assigning DHS GPS data to Individual Recode File (Nigeria 2008 and 2018 surveys)
Assigning DHS GPS data to Individual Recode File [message #19389] Tue, 09 June 2020 11:57 Go to next message
Goethe2014 is currently offline  Goethe2014
Messages: 10
Registered: May 2020
Dear all,

This might be a very basic question but I was not able to find a solution to my problem so far.

I want to merge the Nigerian DHS 2008 and 2018 Individual Recode Data (IR) [STATA files: NGIR53FL (2008) and NGIR7AFL (2018)] with the respective DHS GPS data from these surveys [NGGE52FL (2008) and NGGE7AFL (2018)] . I downloaded all four sets of data but now struggle to combine/merge them. I know as the survey include different clusters I have to merge the 2008 DHS IR file and 2008 GPS data separately from their 2018 counterparts. The supplied DHS GPS data is not in any "usual" .dta format and I dont know how I can assign the respective clusters GPS information (longitude, latitude) to the correct clusters in the DHS IR file in STATA and I am unsure which kind of data format would be the right one (.cpg/.dbf/.prj/.sbn/.sbx/.shp/.shp/.shx).

If anyone could advice me on which kind of merging procedure, STATA code and data file to use I would greatly appreciate the help!

Thanks in advance.

[Updated on: Tue, 09 June 2020 12:02]

Report message to a moderator

Re: Assigning DHS GPS data to Individual Recode File [message #19707 is a reply to message #19389] Tue, 04 August 2020 17:42 Go to previous message
tfish-DHS is currently offline  tfish-DHS
Messages: 48
Registered: August 2017
Location: Maryland, USA
Please see this code for the answer to your question e27e2ed
Previous Topic: Definition of country-specific variables?
Next Topic: A little question about pooling data
Goto Forum:

Current Time: Fri Sep 30 21:17:14 Coordinated Universal Time 2022