Weather
Input weather data in to the model.
The Macro Data file should contain the following column headers:
- Country (string): A three-letter country code as specified in the ISO 3166 standard, indicating the country where the indicator were collected.
- Region (string): The region within the country where the indicators were collected. The format for the region may vary depending on the specific region being represented, but it should adhere to the ISO 3166 standard.
- Grouping (string): An optional field for grouping the indicator data based on additional criteria, such as product categories or sales territories.
- Date (date): The date when the indicators were collected, in the format of YYYY-MM-DD (ISO 8601).
- Indicator (string): The name of the weather indicator being reported (e.g. “Perspiration”, “Wind”).
- Value (float): The value of the weather indicator being reported at the given date and for the given region and country.
The data can be uploaded in both wide and long format, depending on your needs.
Long format:
Country | Region | Grouping | Date | Indicator | Value |
---|---|---|---|---|---|
UKR | all | all | 2018-01-08 | Precipitation | 2.0 |
UKR | all | all | 2018-01-08 | Wind | 5.0 |
Wide format:
Indicator | Precipitation | Snow | Wind |
---|---|---|---|
Country | UKR | UKR | UKR |
Region | all | all | all |
Grouping | all | all | all |
2018-01-08 | 0 | 106.666666666667 | 13.1447510822511 |
2018-01-15 | 0 | 106.666666666667 | 14.4738149350649 |
2018-01-22 | 0 | 106.666666666667 | 14.4211539824263 |
2018-01-29 | 0 | 80.7619047619048 | 17.2199343845725 |
2018-02-05 | 0 | 78.6190476190476 | 13.2963373712058 |