Interface CsvDataProviderOptions

Hierarchy

  • CsvDataProviderOptions

Properties

csvText?: string

CSV data to import in place of URL fetch, typically used for testing. If this is provided, the URL will be ignored.

dateColumn?: string

Name of column containing valid ISO 8601 date-time values. Required if the CSV contains timeseries data, else it should not be specified.

longFormatCsvOptions?: LongFormatCsvOptions

Options for long-format CSVs. If not provided, the CSV is assumed to be wide-format.

regionColumn: string

Name of column containing valid Region IDs.

regionDb: RegionDB

The regions that this CSV file contains data for. Used for validating the incoming data.

url?: string

URL of a CSV file to import from.

Generated using TypeDoc