US_elec: The US Hourly Demand and Supply for Electricity

Description Usage Format Details Source Examples

Description

The total hourly demand and supply (generation) for electricity in the US since July 2015

Units: megawatthours

Time zone: UTC

Usage

1

Format

A tsibble object with hourly intervals

Details

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)

Source

US Energy Information Administration (Dec 2019) website

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(US_elec)

library(plotly)

plot_ly(data = US_elec,
        x = ~ date_time,
        y = ~ series,
        color = ~ type,
        type = "scatter",
        mode = "lines")

USgrid documentation built on March 21, 2021, 5:06 p.m.