listShp {malariaAtlas}R Documentation

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"), version = NULL)

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")

version

The admin unit dataset version to return. Is NULL by default, and if left NULL will just use the most recent version of admin unit data.

Value

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

Examples

## Not run: 
available_admin_units <- listShp()
available_admin_units <- listShp(admin_level = c('admin2','admin3'), version = '202206')

## End(Not run)

[Package malariaAtlas version 1.6.1 Index]