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

    Interface RankStationsInput

    The input of rankStations.

    interface RankStationsInput {
        basis?: "transgressions" | "auto" | "annualBalance";
        column?: number;
        component: string | number;
        limit?: number;
        metric?: "auto" | "exceedances" | "mean";
        now?: Date;
        offset?: number;
        state?: string;
        type?: string;
        year?: number;
    }
    Index
    basis?: "transgressions" | "auto" | "annualBalance"

    auto (default): the annual balance for a completed year, the exceedance table for the running one.

    column?: number

    An annual-balance column by its number (the answer's columns).

    component: string | number

    An id or a name: NO2, PM10, PM2.5, O3/Ozon, SO2.

    limit?: number

    At most this many rows (1-100, default 15).

    metric?: "auto" | "exceedances" | "mean"

    auto (default): the annual mean where the annual balance has one ("where was NO₂ worst?"), else its exceedance count (O₃); the exceedance table has the count only. exceedances or mean ask for one; ignored when column is given.

    now?: Date

    The clock (tests).

    offset?: number
    state?: string

    A Land: a code or a name.

    type?: string

    background, industry or traffic.

    year?: number

    The year (2016 or later; default: the last completed year).