What is the 100 m cell around each address like?
Germany's Zensus 2022 publishes figures for every inhabited 100 m and 1 km cell. GridPin finds each address, computes its cell code and joins the table you download, without sending addresses anywhere.
Two commands
gridpin batch germany.bin places.csv answers.csv --with method gridpin attach answers.csv --table zensus2022_100m.table.json -o with_cells.csv
id,address,gp_zensus_population,gp_zensus_mean_age,gp_zensus_net_rent_eur_m2,gp_zensus_status,gp_key_basis (trimmed) A1,"Pariser Platz 1, 10117 Berlin",,,,key_absent,point A2,"Domkloster 4, 50667 Köln",15,43.85,,matched,point A3,"Römerberg 23, 60311 Frankfurt am Main",69,46.94,10.37,matched,point A4,Potsdam,,,,no_key,weak_answer
The cell of the Brandenburg Gate has no residents, so it is not in the table (key_absent). Potsdam alone is a town, not a point in one cell, and gets nothing. An empty value is one the statistical offices keep secret.
Getting the table
Download the theme archives from zensus2022.de (Ergebnisse, Gitterzellen) and prepare them with prep/zensus_grid.py of the repository: it joins the themes, turns decimal commas into points and writes the passport. The licence is Datenlizenz Deutschland – Namensnennung 2.0: keep the attribution line the run prints. The format of the passport is in gridpin attach.
What a cell value is
A figure of the 100 m square around the address, not of the people in the house. The 1 km table uses the European grid code (cell:eu1km), so Eurostat's census grid of 2021 joins the same way for the other EU countries.
More
- Geocode patient addresses on your own machine
- Geocoding you can cite and repeat
- US census figures for your addresses, privately
- Geocoding without sending addresses anywhere
- Clinical trials: patients to sites, privately
- Find the weak rows and review them by hand
- All guides and countries
- Documentation