Create a list of survey responses extracted using output of
R6_client_dhs$public_methods$survey_questions
Arguments
- questions
Output of
R6_client_dhs$public_methods$survey_questions
- available_datasets
Datasets that could be available. Output of
R6_client_dhs$public_methods$available_datasets
- 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