Learn R Programming

malariaAtlas (version 0.0.5)

listShp: List administrative units for which shapefiles are stored on the MAP geoserver.

Description

listShp lists all administrative units for which shapefiles are stored on the MAP geoserver.

Usage

listShp(printed = TRUE, admin_level = c("admin0", "admin1"))

Arguments

printed

Should the list be printed to the console?

admin_level

Specifies which administrative unit level for which to return available polygon shapefiles. A string vector including one or more of"admin0", "admin1", "admin2" OR "admin3". Default: c("admin0", "admin1")

Value

listShp returns a data.frame detailing the administrative units for which shapefiles are stored on the MAP geoserver.

Examples

Run this code
# NOT RUN {
available_admin_units <- listShp()
# }

Run the code above in your browser using DataLab