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

    Interface CompareRegionsResult

    interface CompareRegionsResult {
        ambiguousRegions?: {
            asked: string;
            candidates: { ags: string; longName?: string; name: string }[];
            reason: string;
        }[];
        candidates?: unknown[];
        field?: IndicatorField;
        highest?: ComparedRegion[];
        indicator?: { code: string; theme: string; titleShort: string };
        level?: string;
        levels?: string[];
        levelStats?: {
            highest?: ComparedRegion;
            lowest?: ComparedRegion;
            mean?: number;
            median?: number;
            regions: number;
            withFigure: number;
            withoutFigure: number;
        };
        lowest?: ComparedRegion[];
        notes?: string[];
        notFound?: { asked: string; reason: string }[];
        reason?: string;
        regions?: ComparedRegion[];
        searched?: Record<string, unknown>;
        status: OperationStatus;
        year?: number;
        years?: string[];
    }
    Index
    ambiguousRegions?: {
        asked: string;
        candidates: { ags: string; longName?: string; name: string }[];
        reason: string;
    }[]

    Named regions that matched several rows: which one is meant?

    candidates?: unknown[]
    highest?: ComparedRegion[]
    indicator?: { code: string; theme: string; titleShort: string }
    level?: string
    levels?: string[]
    levelStats?: {
        highest?: ComparedRegion;
        lowest?: ComparedRegion;
        mean?: number;
        median?: number;
        regions: number;
        withFigure: number;
        withoutFigure: number;
    }

    The whole level: regions with and without a figure, mean, median, lowest, highest. The mean and median are of the regions' values, unweighted (each region once): not the figure for Germany.

    lowest?: ComparedRegion[]
    notes?: string[]
    notFound?: { asked: string; reason: string }[]

    Named regions with no row at this level.

    reason?: string
    regions?: ComparedRegion[]

    The named regions found, highest first (no figure last).

    searched?: Record<string, unknown>
    year?: number
    years?: string[]