Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface describing a data getter instance that loads the JHU CSSE time series data from CSV files.

Hierarchy

  • DataGetter

Implemented by

Index

Methods

getGlobalConfirmedData

  • getGlobalConfirmedData(): Promise<string>

getGlobalDeathsData

  • getGlobalDeathsData(): Promise<string>

getGlobalRecoveredData

  • getGlobalRecoveredData(): Promise<string>

getSourceLastUpdatedAt

  • getSourceLastUpdatedAt(): Promise<Date | undefined>
  • Returns the date that the source was last updated, e.g. the last commit date for the folder containing the JHU CSSE data in its GitHub repository.

    If there is no way to determine the date of last update, this method might return undefined.

    throws

    DataGetterError Thrown when there is an error loading the data.

    Returns Promise<Date | undefined>

getUSConfirmedData

  • getUSConfirmedData(): Promise<string>

getUSDeathsData

  • getUSDeathsData(): Promise<string>

Generated using TypeDoc