dsipts.Monash

class dsipts.Monash(filename: str, baseUrl: str = 'https://forecastingdata.org/', rebuild: bool = False)

Class for downloading datasets listed here https://forecastingdata.org/

Parameters:
  • filename (str) – name of the class, used for saving

  • baseUrl (str, optional) – url to the source page. Defaults to ‘https://forecastingdata.org/’.

  • rebuild (bool, optional) – if true the table will be loaded from the webpage otherwise it will be loaded from the saved file. Defaults to False.

__init__(filename: str, baseUrl: str = 'https://forecastingdata.org/', rebuild: bool = False)

Class for downloading datasets listed here https://forecastingdata.org/

Parameters:
  • filename (str) – name of the class, used for saving

  • baseUrl (str, optional) – url to the source page. Defaults to ‘https://forecastingdata.org/’.

  • rebuild (bool, optional) – if true the table will be loaded from the webpage otherwise it will be loaded from the saved file. Defaults to False.

Methods

__init__(filename[, baseUrl, rebuild])

Class for downloading datasets listed here https://forecastingdata.org/

download_dataset(path, id[, rebuild])

download a specific dataset

generate_dataset(id)

Parse the id-th dataset in a convient format and return a pandas dataset

get_table(baseUrl)

get table

load(filename)

Load a monarch structure

save(filename)

Save the monarch structure