indicator_data: Get DHS Fields

Description Usage Arguments Value Examples

View source: R/indicator_data.R

Description

Returns a data.frame of the fields from http://api.dhsprogram.com/rest/dhs/data/fields

Usage

1
2
indicator_data(per_page = 1000, progress = TRUE, survey = NULL,
  countries = NULL, indicators = NULL, years = NULL)

Arguments

per_page

Number of records to return per page

progress

Show progress bar if more than one page

survey

Surveys to return based on survey ID

countries

Countries to return based on country ID

indicators

Indicators to return based on country ID

years

Years to return

Value

data.frame of the field names and the description of the field

Examples

1
2
indicator_data(survey = "SN2010DHS")
indicator_data(survey = "EG1988DHS", countries = "EG")

muschellij2/dhs documentation built on May 23, 2019, 8:34 a.m.