load_geodata {DEplotting} | R Documentation |
Load Processed Geodata
Description
Loads shapefiles of states (Länder: LAN), districts (Kreise, kreisfreie Städte: KRS), and municipalities (Gemeinde: GEM) for a given year. The shapefiles are processed and assigned to the global environment as vg250_lan
, vg250_krs
, and vg250_gem
. This function is useful if you want to use the shapefiles with other R packages to plot your data.
Usage
load_geodata(year)
Arguments
year |
Integer. The year of geodata to load (must be between 1998 and 2022). |
Value
No return value. This function assigns the spatial datasets vg250_lan
, vg250_krs
, and vg250_gem
to the global environment using <<-
.
Examples
# Load the geodata from year 2015 into the R environment
load_geodata(year = 2015)
[Package DEplotting version 0.1.0 Index]