Learn R Programming

USgrid (version 0.1.2)

US_source: The US Hourly Net Generation by Energy Source

Description

The net generation of electricity in the US by energy source (i.e., natural gas, coal, solar, etc.) since July 2018.

Units: megawatthours

Time zone: UTC

Usage

US_source

Arguments

Format

A tsibble object with hourly intervals

Details

The dataset contains the hourly net generation of electricity in the US (megawatthours) by energy source The `source` column describes the type of the energy source

Examples

Run this code
# NOT RUN {
data(US_source)

library(plotly)

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

# }

Run the code above in your browser using DataLab