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

    Function countDatasets

    • How many datasets match on one portal, and how they spread over the facets asked for (no datasets fetched), and per year when asked (one count per year on the date field). The values are sorted by count (CKAN sends them unsorted); a format's spellings (CSV, csv, the EU URI) and a licence's (dl-de-by-2.0, dl-by-de/2.0, the URI) are folded into one value, their sum an upper bound; every value of those two is read, so nothing is cut before folding. For the others, complete false says there are more values than listed.

      Parameters

      Returns Promise<CountDatasetsAnswer>