The R package ags helps to construct time series of statistics for Germany’s municipalities (Gemeinden) and districts (Kreise) using crosswalks provided by the Bundesinstitut für Bau-, Stadt- und Raumforschung (BBSR). The same crosswalks are used to assemble the INKAR database which can be accessed using the package bonn.


You can install the package directly from Github using:

remotes::install_github("sumtxt/ags", force=TRUE)


The Getting Started vignette provides details on how to use this package.

Complementary Packages

  • The R package wiesbaden provides functions to retrieve data from the databases maintained by the Federal Statistical Office of Germany (DESTATIS) in Wiesbaden.

  • The R package bonn provides functions to retrieve data from the INKAR database maintained by the Federal Office for Building and Regional Planning (BBSR) in Bonn.