US_elec {USgrid} | R Documentation |
The total hourly demand and supply (generation) for electricity in the US since July 2015
Units: megawatthours
Time zone: UTC
US_elec
A tsibble object with hourly intervals
The dataset contains the hourly demand and supply (generation) for electricity in the US (megawatthours). The 'type' column describes the type of the series (demand or generation)
US Energy Information Administration (Dec 2019) website
data(US_elec)
library(plotly)
plot_ly(data = US_elec,
x = ~ date_time,
y = ~ series,
color = ~ type,
type = "scatter",
mode = "lines")