Learn R Programming

RTL (version 0.1.5)

chart_eia_sd: chart_eia_sd

Description

Supply Demand Balance from EIA Short Term Energy Outlook.

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

key

Your private EIA API token.

from

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

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

Examples

Run this code
# NOT RUN {
chart_eia_sd(key = EIAkey, market = "mogas")
 
# }

Run the code above in your browser using DataLab