US_elec {USgrid}R Documentation

The US Hourly Demand and Supply for Electricity

Description

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

Units: megawatthours

Time zone: UTC

Usage

US_elec

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


data(US_elec)

library(plotly)

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


[Package USgrid version 0.1.2 Index]