Dataset

class Dataset(dataset_id, provider=None)[source]

A collection of related data

__init__(dataset_id, provider=None)[source]
Parameters:
  • dataset_id (Union[str, Vendor]) – The dataset’s identifier

  • provider (Optional[DataApi]) – The data provider

Methods

__init__(dataset_id[, provider])

type dataset_id:

Union[str, Vendor]

get_coverage([limit, offset, fields, ...])

Get the assets covered by this DataSet

get_data([start, end, as_of, since, fields, ...])

Get data for the given range and parameters

get_data_last(as_of[, start, fields])

Get the last point for this DataSet, at or before as_of

get_data_series(field[, start, end, as_of, ...])

Get a time series of data for a field of a dataset

Attributes

id

The dataset's identifier

name

provider