The R package
wiesbaden provides functions to directly retrieve data from databases maintained by the Federal Statistical Office of Germany (DESTATIS) in Wiesbaden. The package uses the SOAP XML web service from DESTATIS (PDF Documentation).
Access to the following databases is implemented:
Note, to access any of the databases using this package, you need to register on the respective website to get a personal login name and password. The registration is free but to access the database genesis.destatis.de you need to register as a premium user (Premium Nutzer, 500 Euro per year). For all other databases, the standard, free user account is sufficient.
You can install the package directly from CRAN:
Or install the latest version from Github using:
The package helps with retrieving the data cubes which are used to construct the data tables available as
csv files via the web application of each database. The data cubes are long format data tables that are much easier to process as compared to the
csv files. For details on how to use the package: Getting Started with wiesbaden.
Users that wish to work with the
csv files might find the
read_header_genesis() in this package helpful. The former can be used to automate downloads and the latter facilitates importing downloaded files. Users might also wish to check the R package
Does this package work with a proxy? Yes. Set the proxy globally before calling any package command, e.g.:
When I try to access the data from genesis.destatis.de I get an error message. What can I do? Different from the other databases, you need to get a premium acccount (see above) to access the raw data (Datenquader).
The R package
destatiscleanr github.com/cutterkom/destatiscleanr provides functions to help importing
csv files downloaded via the web application.
The Python packages github.com/WZBSocialScienceCenter/gemeindeverzeichnis and rohablog.wordpress.com/2011/11/22/gv100-parser-python/ provide functions to read the GV100 format.
The node.js package https://github.com/yetzt/node-gv100json provides functions to read the GV100 format.