50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


rdwd (version 1.6.0)

DEU: Map of German states (Bundeslaender) from GADM through the raster package

Description

Map of German states (Bundeslaender) from GADM through the raster package

Arguments

Format

Formal class 'SpatialPolygons' (package "sp") with 4 slots

Author

Berry Boessenkool, berry-b@gmx.de, May 2018

Details

Use directly with:
load(system.file("extdata/DEU.rda", package="rdwd"))

Obtained with the code:

url <- "https://gisco-services.ec.europa.eu/distribution/v2/nuts/shp/NUTS_RG_03M_2021_4326_LEVL_1.shp.zip"
tf <- tempfile(fileext=".zip")
download.file(url, tf) # 0.9 MB
unzip(tf, exdir="misc/vign") ; rm(url, tf)

DEU <- raster::shapefile("misc/vign/NUTS_RG_03M_2021_4326_LEVL_1.shp") DEU <- DEU[DEU$CNTR_CODE=="DE","NUTS_NAME"] raster::plot(DEU) ; axis(1, line=-1) ; axis(2, line=-1)

save(DEU, file="inst/extdata/DEU.rda", version=2) tools::resaveRdaFiles("inst/extdata/DEU.rda", version=2)

See Also

addBorders, EUR