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

    Class BundeswahlClient

    Index
    • The structural data (Strukturdaten) per Wahlkreis — ~50 demographic/economic columns exposed as a key→value map, for the 299 constituencies. The file also carries the official summary rows — 16 "Land insgesamt" (numbered 901–916) and one national "Insgesamt" (999). They are dropped by default, since this command is per-Wahlkreis, but includeAggregates keeps them: they are the authoritative Land/Bund figures, and they cannot be reconstructed by summing Wahlkreise (for the city states several columns repeat one city-wide value, so a sum double-counts — see the rows' own Fußnoten). Optionally filtered by Wahlkreis number (leading zeros ignored) or name substring.

      Parameters

      • opts: { includeAggregates?: boolean; wahlkreis?: string } = {}

      Returns Promise<StructureRow[]>

    • structure's rows, and each column's number as the file's "Spalten-Nr." row gives it (column name -> number; the columns before the first number, Land, Wahlkreis-Nr. and Wahlkreis-Name, have none). The rows' Fußnoten name columns by these numbers ("In den Spalten 1, 7 bis 14 und 17 bis 48 sind die Werte für Berlin insgesamt ausgewiesen"), which the rows' keys don't carry. Empty when the file has no such row.

      Parameters

      • opts: { includeAggregates?: boolean; wahlkreis?: string } = {}

      Returns Promise<{ columnNumbers: Record<string, number>; rows: StructureRow[] }>