Skip to content

Collections

ts_bolt.datasets.collections¤

DownloaderDataset ¤

Bases: BaseModel

Dataset that is downloaded by a downloader function.

Source code in ts_bolt/datasets/collections.py
35
36
37
38
39
40
41
42
class DownloaderDataset(BaseModel):
    """Dataset that is downloaded by a downloader function."""

    name: str
    downloader: BaseDownloader
    documentation: str
    file_name: str
    description: str

NamedDatasets ¤

Bases: BaseModel

NamedDatasets is a collection of datasets that are used in the ts_bolt library.

Source code in ts_bolt/datasets/collections.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class NamedDatasets(BaseModel):
    """
    NamedDatasets is a collection of datasets
    that are used in the ts_bolt library.
    """

    lai_exchange_rate: str = "lai_exchange_rate"
    lai_electricity: str = "lai_electricity"
    lai_solar_al: str = "lai_solar_al"
    lai_traffic: str = "lai_traffic"
    ecb_exchange_rate: str = "ecb_exchange_rate"
    mbohlkeschneider_electricity_nips: str = "mbohlkeschneider_electricity_nips"
    mbohlkeschneider_exchange_rate_nips: str = "mbohlkeschneider_exchange_rate_nips"
    mbohlkeschneider_solar_nips: str = "mbohlkeschneider_solar_nips"
    mbohlkeschneider_wiki_rolling_nips: str = "mbohlkeschneider_wiki_rolling_nips"
    mbohlkeschneider_traffic_nips: str = "mbohlkeschneider_traffic_nips"
    mbohlkeschneider_taxi_30min: str = "mbohlkeschneider_taxi_30min"

RawFileDataset ¤

Bases: BaseModel

A model defining raw file datasets.

Source code in ts_bolt/datasets/collections.py
25
26
27
28
29
30
31
32
class RawFileDataset(BaseModel):
    """A model defining raw file datasets."""

    name: str
    remote: str
    documentation: str
    file_name: str
    description: str