Glossary

Concepts of the Regionaldatenbank Deutschland and the vocabulary this CLI exposes. The database runs the GENESIS software: statistics are made of cubes, which are sliced into tables, described by variables and their values — and almost everything here additionally has a regional dimension reaching down to Kreis and Gemeinde level.

Objects

Term GENESIS Meaning
Statistic (Statistik) statistic A whole statistical product, keyed by a 5-digit EVAS code (e.g. 12411, “Fortschreibung des Bevölkerungsstandes”). Contains cubes.
Table (Tabelle) table A ready-made 2-D view, keyed like 12411-01-01-4. The main thing you fetch.
Cube (Datenquader) cube The raw multidimensional data behind tables.
Time series (Zeitreihe) timeseries A cube reduced to a single value over time.
Variable (Merkmal) variable A dimension/attribute (e.g. KREISE = Kreise und kreisfreie Städte, GES = Geschlecht).
Value (Ausprägung) value A concrete value of a variable (e.g. one specific Kreis).
Result (Ergebnistabelle) result A table produced by an async job, saved in your user area.

Codes & selection

Regional keys & levels

The response envelope

Every non-helloworld response is wrapped:

Field Meaning
Ident { Service, Method } — which endpoint answered.
Status { Code, Content, Type } — the logical outcome (see below).
Parameter echo of your request (credentials masked as ********).
Copyright the attribution string to cite — see DATA_LICENSE.md.
List catalogue results (a homogeneous array).
Object data/metadata payload (opaque; for data/table, a CSV string in Object.Content).

helloworld/whoami and helloworld/logincheck do not use this envelope — and neither do authentication failures, which arrive as a bare { Code, Content, Type } object (see below).

Status.Code values

Most logical outcomes ride on HTTP 200; auth failures pair the same shape with 401/404:

Code Type Meaning This CLI
0 Information success returns data
22 Warnung success, a parameter was auto-corrected returns data (warning visible in Status.Content)
50 Information no newer data (for --stand) returns data
104 Information no object matched returns an empty result (exit 0)
90 Fehler requested object not found error, exit 4
98 Information result too large for a direct fetch error with narrowing guidance, exit 1
15 ERROR not authorized (no/unrecognized credentials; flat body on HTTP 401) error + credentials hint, exit 1
2 ERROR wrong username/password (flat body on HTTP 404 — not a missing object!) error, exit 1
any Fehler / Error general error error, exit 1

Value-status placeholders

In a data/table CSV, a cell may be a status symbol instead of a number: - (nothing to report / genuine zero context), . (unknown/secret — common at Gemeinde level due to statistical confidentiality), ... (not yet available), / (no figure: value not reliable enough), x (no meaningful statement possible), () (limited informative value), p (provisional), r (revised), s (estimated).

Auth terms

See DEVELOPING.md for how credentials are passed on the wire and why redirects are not followed.

View the source on GitHub →