Learn R Programming

rgugik (version 0.3.2)

borders_get: Get the boundaries of administrative units

Description

Get the boundaries of administrative units

Usage

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

Value

a sf data.frame (EPSG: 2180)

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)

Examples

Run this code
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
}

Run the code above in your browser using DataLab