Learn R Programming

RTL (version 1.3.7)

chart_eia_sd: EIA weekly supply-demand information by product group

Description

Given a product group extracts all information to create SD Balances.

Usage

chart_eia_sd(
  market = "mogas",
  key = "your EIA.gov API key",
  from = "2011-01-01",
  legend.pos = list(x = 0.4, y = 0.53),
  output = "chart"
)

Value

A plotly chart htmlwidget or a tibble.

Arguments

market

"mogas", "dist", "jet" or "resid". character

key

Your private EIA API token. character

from

Date as character "2020-07-01". Default to all dates available. character

legend.pos

Defaults to list(x = 0.4, y = 0.53). list

output

"chart" for plotly object or "data" for dataframe.

Author

Philippe Cote

Examples

Run this code
if (FALSE) {
chart_eia_sd(key = key, market = "mogas")
}

Run the code above in your browser using DataLab