Skip to content

z22

Official Gridded Data from the German Census 2022

v1.1.4 · Jan 23, 2026 · MIT + file LICENSE

Description

Provides fast and easy access to German census grid data from the 2011 and 2022 censuses <https://www.zensus2022.de/>, including a wide range of socio-economic indicators at multiple spatial resolutions (100m, 1km, 10km). Enables efficient download, processing, and analysis of large census datasets covering population, households, families, dwellings, and buildings. Harmonized data structures allow direct comparison with the 2011 census, supporting temporal and spatial analyses. Facilitates conversion of data into common formats for spatial analysis and mapping ('terra', 'sf', 'ggplot2').

Downloads

CRAN

603

Last 30 days

5871st

1.9K

Last 90 days

7.1K

Last year

Trend: +2.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

105

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

6

Last 7 days

14

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

4,197

Files

45

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,961 (46.7%)Tests 207 (4.9%)Docs 1,387 (33%)Vignettes 642 (15.3%)

API

Exported functions

8

Internal functions

30

Recent export changes

v1.0.0+8 z22_categories, z22_data, z22_decode +5 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2025-05-19

Latest release

2026-01-23

Avg cadence

125 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 3,737 LOCv1.1.0: 3,846 LOCv1.1.4: 4,197 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies cli httr2 dplyr arrow z22

Version History

4 tracked
new 1.1.4 Mar 10, 2026
updated 1.1.4 ← 1.1.0 diff Jan 22, 2026
updated 1.1.0 ← 1.0.0 diff Oct 28, 2025
new 1.0.0 May 18, 2025