chart_eia_sd: EIA weekly supply-demand information by product group

View source: R/chart_eia_sd.R

chart_eia_sdR Documentation

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"
)

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.

Value

A plotly chart htmlwidget or a tibble.

Author(s)

Philippe Cote

Examples

## Not run: 
chart_eia_sd(key = key, market = "mogas")

## End(Not run)


risktoollib/RTL documentation built on April 17, 2024, 1:35 p.m.