chart_eia_steo: 'chart_eia_steo'

Description Usage Arguments Value Author(s) Examples

View source: R/chart_eia_steo.R

Description

Supply Demand Balance from EIA Short Term Energy Outlook.

Usage

1
2
3
4
5
6
7
8
9
chart_eia_steo(
  market = "globalOil",
  key = "your EIA.gov API key",
  from = "2018-07-01",
  fig.title = "EIA STEO Global Liquids SD Balance",
  fig.units = "million barrels per day",
  legend.pos = list(x = 0.4, y = 0.53),
  output = "chart"
)

Arguments

market

"globalOil" only currently implemented.

key

Your private EIA API token.

from

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

fig.title

Defaults to "EIA STEO Global Liquids SD Balance".

fig.units

Defaults to "million barrels per day"

legend.pos

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

output

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

Value

A plotly object or a dataframe

Author(s)

Philippe Cote

Examples

1
2
3
4
## Not run: 
chart_eia_steo(key = EIAkey, market = "globalOil")
 
## End(Not run)

RTL documentation built on June 12, 2021, 5:06 p.m.