borders_get: Get the boundaries of administrative units

View source: R/borders_get.R

borders_getR Documentation

Get the boundaries of administrative units

Description

Get the boundaries of administrative units

Usage

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)

Details

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

Value

a sf data.frame (EPSG: 2180)

Examples

## Not run: 
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

## End(Not run)

rgugik documentation built on March 7, 2023, 5:22 p.m.