transm_day_ahead_prices: Get Day-Ahead Prices (12.1.D)

View source: R/en_transmission.R

transm_day_ahead_pricesR Documentation

Get Day-Ahead Prices (12.1.D)

Description

Prices in currency/MWh created on spot (Day-Ahead) market. The data is delivered for each market time unit.

Usage

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")
)

Arguments

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

Examples

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)


krose/entsoeapi documentation built on June 15, 2025, 1:46 p.m.