extraction {rdhs} | R Documentation |
DHS survey questions extracted from datasets
Description
Create a list of survey responses extracted using output of
R6_client_dhs$public_methods$survey_questions
Usage
extraction(questions, available_datasets, geo_surveys, add_geo = FALSE)
Arguments
questions |
Output of
|
available_datasets |
Datasets that could be available.
Output of |
geo_surveys |
Geographic Data Survey file paths. |
add_geo |
Boolean detailing if geographic datasets should be added. |
Value
Returns 'data.frame' with variables corresponding to
the requested variables in the questions object. Will also have
geographic data related columns if 'add_geo=TRUE' is set.
Lastly a SurveyId variable will also be appended corresponding to
dhs_datasets
$SurveyId
[Package rdhs version 0.8.1 Index]