The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » How to download only few variables from the DHS dataset
Re: How to download only few variables from the DHS dataset [message #9843 is a reply to message #9840] Mon, 30 May 2016 17:11 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

I believe you can just download the regular dataset, but only load certain variables from it. See: http://www.stata.com/help.cgi?use

use [varlist] [if] [in] using filename [, clear nolabel]

So if you typed, for example:

"use make rep78 foreign using myauto"

...it would only load 3 variables ("make" "rep78" and "foreign") from the dataset "myauto".

I think that should work, but let me know if it doesn't.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Discrepancy between household and household members datasets
Next Topic: Pooled Multinomial Logistic Regression
Goto Forum:
  


Current Time: Thu Jan 30 21:03:18 Coordinated Universal Time 2025