data_info library

Where each bundled dataset comes from: issuer, official source, dates, coverage and when it is next expected to change; and the DataSource that dated results carry.

Same as the pakdatakit/data-info entry point of the npm package.

Classes

DataInfo
Where a dataset comes from and which period it covers: one entry of data/manifest.json. Result of getDataInfo and listDataInfo.
DataSource
The source of the dated record a result was calculated from: which dataset, the period that record applies to, and the law or notification behind it.

Functions

getDataInfo(String id) → DataInfo?
Where a bundled dataset comes from: the issuer, the official source and its reference and date, when it was checked, the period it covers, its record count and when it is next expected to change.
listDataInfo() → List<DataInfo>
Every bundled dataset's manifest entry, as getDataInfo returns them, in id order. Never throws.