okresy: Districts (okresy)

Description Usage Arguments Format Details Source Examples

View source: R/okresy.R

Description

Function returning data frame of LAU1 administrative units for the Czech Republic as sf polygons. It takes a single parameter resolution - high res (default) or low res polygons.

Usage

1
okresy(resolution = "high")

Arguments

resolution

Should the function return high or low resolution shapefile? Allowed values are "high" (default) and "low". This parameter affects only the geometry column, all other fields remain the same.

Format

sf data frame with 77 rows of 6 variables + geometry

KOD_OKRES

Code of the district (okres).

KOD_LAU1

Code of the district as LAU1 unit (okres).

NAZ_LAU1

Name of the district as LAU1 unit (okres).

KOD_KRAJ

Code of the region.

KOD_CZNUTS3

Code of the region as NUTS3 (kraj).

NAZ_CZNUTS3

Name of the region (kraj).

Details

Due to package size constraints the data are stored externally (and a working internet connection is required to use the package).

The data is current to April 2021 (i.e changes introduced by act 51/2020 Sb. are reflected). Downloaded size of high resolution shapefile 2.1 MB.

Source

© ČÚZK, 2021 https://vdp.cuzk.cz/

Examples

1
2
3
4
5
6
7
library(sf)

hranice <- okresy()
plot(hranice, col = "white", max.plot = 1)

object.size(okresy("low"))
object.size(okresy("high"))

RCzechia documentation built on April 12, 2021, 1:07 a.m.