The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » South Africa (1998): Merging Wealth Index with Individual Recode File in Stata
Re: South Africa (1998): Merging Wealth Index with Individual Recode File in Stata [message #915 is a reply to message #884] Fri, 01 November 2013 14:13 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3189
Registered: February 2013
Senior Member
Here is a comment from one of our STATA experts Tom Pullum, that should answer your question.

Instead of extracting a substring of caseid, it is better to use v001 and v002. That is, open the WI file; then "sort v001 v002"; then open the IR file; "sort v001 v002"; then "merge v001 v002" using the sorted WI file.

 
Read Message
Read Message
Read Message
Previous Topic: Merging Women's & HIV Datasets
Next Topic: V001 and V002 do not uniquely identify observations in certain files?
Goto Forum:
  


Current Time: Thu Nov 7 17:30:49 Coordinated Universal Time 2024