Meta-data About Administrative Districts of Germany
germanydata.Rd
Supplementary data used for the display of data from the administrative districts of Germany
Format
germany.info
is a list with elements
- n
544 (number of districts around 1990).
- xrep,yrep
representative coordinates of the districts (vectors of length 544)
- xlim,ylim
2-vectors defining the limits of the districts.
- polyid
linking the polygons to the districts (599 vector).
- id
linking the districts to Community Identification Number.
germany.poly
defines the polygons. It is a 17965 by two matrix,
each polygon separated by a row of NA
s, each district by two rows.germany
defines the polygons in form of a list (backwards compatibility).
References
The meta-data has been constructed based on (essentially)
files from the package INLA, see demo(Bym)
.
See also https://de.wikipedia.org/wiki/Amtlicher_Gemeindeschl%C3%BCssel and https://en.wikipedia.org/wiki/Districts_of_Germany
Details
The representative coordinates are calculated based on the mean value of the polygon coordinates. This creates sometimes strange values, e.g., district Leer.
Examples
# Plot the Bundeslaender:
germany.plot(germany.info$id%/%1000,col=rep(2:8,3), legend=FALSE)