View source: R/en_generation.R
gen_per_prod_type | R Documentation |
Actual aggregated net generation output (MW) or consumption per market time unit and per production type.
gen_per_prod_type(
eic = NULL,
period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"),
period_end = lubridate::ymd(Sys.Date(), tz = "CET"),
gen_type = NULL,
tidy_output = TRUE,
security_token = Sys.getenv("ENTSOE_PAT")
)
eic |
Energy Identification Code of the control area, bidding zone or country |
period_start |
POSIXct or YYYY-MM-DD HH:MM:SS format Maximum one year range limit applies |
period_end |
POSIXct or YYYY-MM-DD HH:MM:SS format Maximum one year range limit applies |
gen_type |
Defaults to NULL, otherwise list of generation type codes from asset_types table |
tidy_output |
Defaults to TRUE. If TRUE, then flatten nested tables. |
security_token |
Security token for ENTSO-E transparency platform |
df <- entsoeapi::gen_per_prod_type(
eic = "10YFR-RTE------C",
period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"),
period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"),
gen_type = NULL,
tidy_output = TRUE
)
str(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.