-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated electricity dataset and added dataset with exogenous variables.
- Loading branch information
Showing
30 changed files
with
297,011 additions
and
114,462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,69 @@ | ||
#' Electricity short dataset | ||
#' Electricity dataset | ||
#' | ||
#' Contains prices of different electricity markets | ||
#' Contains prices of different electricity markets. | ||
#' | ||
#' @format ## `electricity` | ||
#' A data frame with 3,600 rows and 3 columns: | ||
#' A data frame with 8400 rows and 3 columns: | ||
#' \describe{ | ||
#' \item{unique_id}{Unique identifiers of the electricity markets} | ||
#' \item{ds}{Date in format YYYY:MM:DD hh:mm:ss} | ||
#' \item{y}{Price for the given market and date} | ||
#' \item{unique_id}{Unique identifiers of the electricity markets.} | ||
#' \item{ds}{Date in format YYYY:MM:DD hh:mm:ss.} | ||
#' \item{y}{Price for the given market and date.} | ||
#' } | ||
#' @source <https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short.csv> | ||
"electricity" | ||
#' | ||
#' Electricity dataset with exogenous variables | ||
#' | ||
#' Contains prices of different electricity markets with exogenous variables. | ||
#' | ||
#' @format ## `electricity_exo_vars` | ||
#' A data frame with 8400 rows and 12 columns: | ||
#' \describe{ | ||
#' \item{unique_id}{Unique identifiers of the electricity markets.} | ||
#' \item{ds}{Date in format YYYY:MM:DD hh:mm:ss.} | ||
#' \item{y}{Price for the given market and date.} | ||
#' \item{Exogenous1}{An external factor influencing prices. For all markets, some form of day-ahead load forecast.} | ||
#' \item{Exogenous2}{An external factor influencing prices. | ||
#' For "BE" and "FR" markets, the day-ahead generation forecast. | ||
#' For "NP", the day-ahead wind generation forecast. | ||
#' For "PJM", the day-ahead load forecast in a specific zone. | ||
#' For "DE", the aggregated day-ahead wind and solar generation forecasts. | ||
#' } | ||
#' \item{day_0}{Binary variable indicating weekday.} | ||
#' \item{day_1}{Binary variable indicating weekday.} | ||
#' \item{day_2}{Binary variable indicating weekday.} | ||
#' \item{day_3}{Binary variable indicating weekday.} | ||
#' \item{day_4}{Binary variable indicating weekday.} | ||
#' \item{day_5}{Binary variable indicating weekday.} | ||
#' \item{day_6}{Binary variable indicating weekday.} | ||
#' } | ||
#' @source <https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short.csv> | ||
"electricity_exo_vars" | ||
#' | ||
#' Future values for the electricity dataset with exogenous variables | ||
#' | ||
#' Contains the future values of the exogenous variables of the electricity dataset (24 steps-ahead). To be used with `electricity_exo_vars`. | ||
#' | ||
#' @format ## `electricity_future_exo_vars` | ||
#' A data frame with 120 rows and 11 columns: | ||
#' \describe{ | ||
#' \item{unique_id}{Unique identifiers of the electricity markets.} | ||
#' \item{ds}{Date in format YYYY:MM:DD hh:mm:ss.} | ||
#' \item{Exogenous1}{An external factor influencing prices. For all markets, some form of day-ahead load forecast.} | ||
#' \item{Exogenous2}{An external factor influencing prices. | ||
#' For "BE" and "FR" markets, the day-ahead generation forecast. | ||
#' For "NP", the day-ahead wind generation forecast. | ||
#' For "PJM", the day-ahead load forecast in a specific zone. | ||
#' For "DE", the aggregated day-ahead wind and solar generation forecasts. | ||
#' } | ||
#' \item{day_0}{Binary variable indicating weekday.} | ||
#' \item{day_1}{Binary variable indicating weekday.} | ||
#' \item{day_2}{Binary variable indicating weekday.} | ||
#' \item{day_3}{Binary variable indicating weekday.} | ||
#' \item{day_4}{Binary variable indicating weekday.} | ||
#' \item{day_5}{Binary variable indicating weekday.} | ||
#' \item{day_6}{Binary variable indicating weekday.} | ||
#' } | ||
#' @source <https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short-future-ex-vars.csv> | ||
"electricity_future_exo_vars" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
## Electricity dataset with exogenous variables | ||
|
||
electricity_exo_vars <- read.csv('https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short-with-ex-vars.csv') | ||
|
||
usethis::use_data(electricity_exo_vars, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## code to prepare `electricity_future_exo_vars` dataset goes here | ||
|
||
electricity_future_exo_vars <- read.csv('https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short-future-ex-vars.csv') | ||
|
||
usethis::use_data(electricity_future_exo_vars, overwrite = TRUE) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.