Learn R Programming

surveyPrev (version 1.0.0)

getDHSgeo: Download DHS geo data

Description

This function downloads cluster's coordinate data for country and survey.

Usage

getDHSgeo(country, year)

Value

The function returns a spatial point dataset with coordinates for each cluster based on the chosen survey and year.

Arguments

country

Country name.

year

Year the survey conducted.

Author

Qianyu Dong

Examples

Run this code
if (FALSE) {
geo <- getDHSgeo(country = "Zambia", year = 2018)
}

Run the code above in your browser using DataLab