Learn R Programming

spam (version 2.11-1)

germany.data: Meta-data About Administrative Districts of Germany

Description

Supplementary data used for the display of data from the administrative districts of Germany

Arguments

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 NAs, each district by two rows.
germany defines the polygons in form of a list (backwards compatibility).

Author

Reinhard Furrer

Details

The representative coordinates are calculated based on the mean value of the polygon coordinates. This creates sometimes strange values, e.g., district Leer.

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

See Also

germany.plot Oral.

Examples

Run this code
# Plot the Bundeslaender:
germany.plot(germany.info$id%/%1000,col=rep(2:8,3), legend=FALSE)

Run the code above in your browser using DataLab