The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use (other programs) » filtering hhid in the HR file using R after importing in haven and using dplyr
Re: filtering hhid in the HR file using R after importing in haven and using dplyr [message #13252 is a reply to message #13235] Mon, 09 October 2017 07:54 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3035
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

The easiest solution will be to use hv001, hv002, and hvidx (cluster id, household id, and line number, respectively), all of which are numeric rather than strings.



 
Read Message
Read Message
Read Message
Previous Topic: Reading data files into R Studio
Next Topic: import data file to R
Goto Forum:
  


Current Time: Fri Apr 19 18:27:29 Coordinated Universal Time 2024