gb_max_adm_lvl: Get the highest administrative level available for a given...

View source: R/utils.R

gb_max_adm_lvlR Documentation

Get the highest administrative level available for a given country

Description

Get the highest administrative level available for a given country

Usage

gb_max_adm_lvl(
  country = NULL,
  release_type = c("gbOpen", "gbHumanitarian", "gbAuthoritative")
)

Arguments

country

characher; a vector of country names or iso3 country codes.

release_type

character; This is one of gbOpen, gbHumanitarian, or gbAuthoritative. For most users, we suggest using gbOpen, as it is CC-BY 4.0 compliant, and can be used for most purposes so long as attribution is provided. gbHumanitarian files are mirrored from UN OCHA, but may have less open licensure. gbAuthoritative files are mirrored from UN SALB, and cannot be used for commerical purposes, but are verified through in-country processes. Default to gbOpen.

Value

a data.frame with the country names and corresponding highest administrative level


dickoa/rgeoboundaries documentation built on May 14, 2024, 10:13 p.m.