Get the boundaries of administrative units

borders_get(voivodeship = NULL, county = NULL, commune = NULL, TERYT = NULL)

Arguments

voivodeship

selected voivodeships in Polish. Check voivodeship_names() function

county

county names in Polish. Check county_names() function

commune

commune names in Polish. Check commune_names() function

TERYT

voivodeships, counties or communes (2, 4 or 7 characters)

Value

a sf data.frame (EPSG: 2180)

Details

If all arguments are NULL (default), the boundary of Poland will be returned.

Examples

if (FALSE) {
voivodeship_geom = borders_get(voivodeship = "lubuskie") # 494 KB
county_geom = borders_get(county = "Sopot") # 18 KB
commune_geom = borders_get(commune = c("Hel", "Krynica Morska")) # 11 KB
poland_geom = borders_get() # 1124.3 KB
}