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

    Interface QueryOptions

    Options for a data query.

    interface QueryOptions {
        fields?: string[];
        indicator: string;
        level: string;
        region?: string;
        year?: number;
    }
    Index
    fields?: string[]

    Client-side field projection: keep only these value fields.

    indicator: string

    Indicator code (AI002-1-5) or table form (ai002_1_5); resolved against the catalogue.

    level: string

    Geo level: a friendly name (land, kreis, …) resolved to a typ.

    region?: string

    Client-side region filter: an AGS (numeric) or a substring of the name.

    year?: number

    Year; defaults to the indicator's newest catalogue year. The data host may not have loaded that year yet, in which case the query returns no rows.