Skip to contents

Function returning grid covering the Czech Republic according to the Kartierung der Flora Mitteleuropas methodology.

Usage

KFME_grid(resolution = "low")

Arguments

resolution

Should the function return high or low resolution shapefile? Allowed values are "low" and "high". Default is "low".

Value

sf data frame with 1092 rows in low resolution and 4368 rows in high resolution

ctverec

KFME code of the grid cell; depending on value of resolution parameter either 4 digits, or 4 digits + 1 letter

Details

The function returns a sf data frame of grid cells. Depending on the value of parameter resolution either low resolution (26×42 cells - default) with labels in 4 digit format (e.g. Hrčava = 6479) or high resolution (104×168 cells) with labels in 4 digit + 1 letter format (e.g Hrčava = 6479c).

Raw version of the dataset is available for download for use in non-R setting on https://rczechia.jla-data.net/kfme_czechia.gpkg.

Examples

library(ggplot2)

ggplot() +
  geom_sf(data = republika("low")) +
  geom_sf(data = KFME_grid("low"), fill = NA)