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

    Type Alias FlatTable

    FlatTable:
        | {
            code: string;
            columns: string[];
            file: string;
            kind: DataKind;
            offset: number;
            rows: string[][];
            searched: Searched;
            status: "ok";
            total: number;
        }
        | {
            code: string;
            kind: DataKind;
            reason: string;
            searched: Searched;
            status: "empty";
        }

    The answer of getFlatTable.

    Type Declaration

    • {
          code: string;
          columns: string[];
          file: string;
          kind: DataKind;
          offset: number;
          rows: string[][];
          searched: Searched;
          status: "ok";
          total: number;
      }
      • code: string
      • columns: string[]
      • file: string

        The file inside the download.

      • kind: DataKind
      • offset: number
      • rows: string[][]

        The rows from offset, each a list of cells as the file has them (text).

      • searched: Searched
      • status: "ok"
      • total: number

        Data rows (the header line not counted).

    • {
          code: string;
          kind: DataKind;
          reason: string;
          searched: Searched;
          status: "empty";
      }