@maschinenlesbar.org/destatis-genesis-cli
    Preparing search index...

    Type Alias DataFetch

    DataFetch:
        | {
            code: string;
            copyright: string;
            kind: DataKind;
            lines: Cell[][];
            offset: number;
            searched: Searched;
            status: "ok";
            statusNote?: StatusNote;
            symbols: Record<string, string>;
            title?: string;
            total: number;
        }
        | {
            code: string;
            copyright: string;
            kind: DataKind;
            reason: string;
            searched: Searched;
            status: "empty";
        }

    The answer of fetchData.

    Type Declaration

    • {
          code: string;
          copyright: string;
          kind: DataKind;
          lines: Cell[][];
          offset: number;
          searched: Searched;
          status: "ok";
          statusNote?: StatusNote;
          symbols: Record<string, string>;
          title?: string;
          total: number;
      }
      • code: string
      • copyright: string
      • kind: DataKind
      • lines: Cell[][]

        The lines from offset: each a list of cells, German numbers as numbers, everything else (symbols too) as sent.

      • offset: number
      • searched: Searched
      • status: "ok"
      • OptionalstatusNote?: StatusNote
      • symbols: Record<string, string>

        The value symbols that occur in the lines, with their meaning.

      • Optionaltitle?: string

        The title GENESIS gives the object, when it gives one.

      • total: number

        All the lines of the table, headers and footnotes included.

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