@maschinenlesbar.org/regionalstatistik-cli
    Preparing search index...

    Interface DataSelection

    How a data request is narrowed (each maps to a GENESIS parameter).

    interface DataSelection {
        classes?: readonly ClassFilter[];
        contents?: string;
        endYear?: string;
        language?: "de" | "en";
        regionKey?: string;
        regionVariable?: string;
        startYear?: string;
        timeslices?: number;
    }

    Hierarchy (View Summary)

    Index
    classes?: readonly ClassFilter[]

    Up to five classifying variables with their keys (classifyingvariable1..5, classifyingkey1..5).

    contents?: string

    Only these value columns (contents, comma-separated codes).

    endYear?: string

    Up to this year (endyear).

    language?: "de" | "en"
    regionKey?: string
    regionVariable?: string

    The regional level (regionalvariable: KREISE, GEMEIN, DLAND, …), usually not needed when the table's depth matches, and the regions by their official key (regionalkey, AGS/ARS: 08221 is Stadtkreis Heidelberg, 08* every Kreis in Baden-Württemberg; comma-separated, * allowed).

    startYear?: string

    From this year (startyear).

    timeslices?: number

    Only the latest N periods (timeslices).