Learn R Programming

rgugik (version 0.4.1)

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)

Details

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

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
poland_geom = borders_get() # 1124.3 KB
}

Run the code above in your browser using DataLab