Get metadata for a country and an administrative level, type of data and version

gb_metadata(country = NULL, adm_lvl = "all", type = NULL, version = NULL)

Arguments

country

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

adm_lvl

characher; administrative level, adm0, adm1, adm2, adm3, adm4, adm5 or all. adm0 being the country and all to access all available levels.

type

character; defaults to HPSCU. One of HPSCU, HPSCGS, SSCGS, or SSCU. Determines the type of boundary link you receive. More on details

version

character; defaults to the most recent version of geoBoundaries available. The geoboundaries version requested, with underscores. For example, 3_0_0 would return data from version 3.0.0 of geoBoundaries.