View source: R/en_transmission.R
transm_day_ahead_prices | R Documentation |
Prices in currency/MWh created on spot (Day-Ahead) market. The data is delivered for each market time unit.
transm_day_ahead_prices(
eic = NULL,
period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"),
period_end = lubridate::ymd(Sys.Date(), tz = "CET"),
tidy_output = TRUE,
security_token = Sys.getenv("ENTSOE_PAT")
)
eic |
Energy Identification Code of the related domain |
period_start |
POSIXct or YYYY-MM-DD HH:MM:SS format One year range limit applies |
period_end |
POSIXct or YYYY-MM-DD HH:MM:SS format One year range limit applies |
tidy_output |
Defaults to TRUE. If TRUE, then flatten nested tables. |
security_token |
Security token for ENTSO-E transparency platform |
df1 <- entsoeapi::transm_day_ahead_prices(
eic = "10YCZ-CEPS-----N",
period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"),
period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"),
tidy_output = TRUE
)
str(df1)
df2 <- entsoeapi::transm_day_ahead_prices(
eic = "10YDK-1--------W",
period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"),
period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"),
tidy_output = TRUE
)
str(df2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.