Description Usage Arguments Value See Also Examples
View source: R/set_return_fields.R
set_return_fields captures a set of return fields for use in fetch_data.
| 1 | set_return_fields(dhs_return_fields)
 | 
| dhs_return_fields | Input return fields to populate the retrieved dataframe from the DHS API. Please see https://api.dhsprogram.com/rest/dhs/data/fields for complete list of available fields. | 
Captures a vector of the specified return fields.
| 1 2 3 4 5 | set_return_fields(c("Indicator", "IndicatorId","CountryName", "DHS_CountryCode",
                    "SurveyYear", "SurveyYearLabel", "SurveyType",
                    "CharacteristicCategory", "CharacteristicLabel", "ByVariableLabel",
                    "DenominatorWeighted", "DenominatorUnweighted",
                    "CILow", "CIHigh", "Value"))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.