Get administrative boundaries layer name
get_boundaries_name(files, adm = NULL)List of shapefiles within a downloaded zip file
Integer. Administrative level required. Either 0 for country,
1 for regions, 2 for districts, or 3 for traditional authority areas.
Layer name for specified administrative level boundary
get_boundaries_name(
download_boundaries_shapefiles(id = "cod-ab-mwi"), adm = 0
)
#> [1] "mwi_admbnda_adm0_nso_hotosm_20230405"