Get administrative boundaries layer name

get_boundaries_name(files, adm = NULL)

Arguments

files

List of shapefiles within a downloaded zip file

adm

Integer. Administrative level required. Either 0 for country, 1 for regions, 2 for districts, or 3 for traditional authority areas.

Value

Layer name for specified administrative level boundary

Examples

get_boundaries_name(
  download_boundaries_shapefiles(id = "cod-ab-mwi"), adm = 0
)
#> [1] "mwi_admbnda_adm0_nso_hotosm_20230405"