electricity_consumption_forecast_FI {finnishgrid}R Documentation

Electricity consumption forecast

Description

Electricity consumption forecast of Finland. The forecast is made by Fingrid. The Data before 21.04.2024 is in 5 minute resolution.

Usage

electricity_consumption_forecast_FI(
  start_time_utc = NA,
  end_time_utc = NA,
  user_key = NA
)

Arguments

start_time_utc

Start time in UTC. Character array YYYY-MM-ddTHH:mm:ss.sssZ

end_time_utc

End time in UTC. Character array YYYY-MM-ddTHH:mm:ss.sssZ

user_key

Character array holding API-key. Free from https://data.fingrid.fi/en/instructions

Value

A data frame object with time series data having period 15 min and unit type MW.

See Also

https://data.fingrid.fi/en/datasets/166

Examples

## Not run: 
library(finnishgrid)
start = "2024-06-01T00:00:00.000Z"  # UTC
end = "2024-06-03T00:00:00.000Z"    # UTC
key = "MY_SUPER_SECRET"
df <- electricity_consumption_forecast_FI(start_time_utc = start,
         end_time_utc = end,
         user_key = key)
summary(df)

## End(Not run)

[Package finnishgrid version 0.2.0 Index]