gs_quant.data.dataset.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 identifierprovider (
Optional
[DataApi
]) – The data provider
Methods
__init__
(dataset_id[, provider])- type dataset_id:
Union
[str
,Vendor
]
delete
()Delete dataset definition.
delete_data
(delete_query)Delete data from dataset.
get_coverage
([limit, offset, fields, ...])Get the assets covered by this DataSet
get_coverage_async
([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_bulk
(request_batch_size, original_start)Extracts data from dataset by running parallel queries in the background
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
undelete
()Un-delete dataset definition.
upload_data
(data)Upload data to this DataSet
Attributes
id
The dataset's identifier
name
provider