chart_eia_steo
Supply Demand Balance from EIA Short Term Energy Outlook.
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"
)
"globalOil" only currently implemented.
Your private EIA API token.
Date as character "2020-07-01". Default to all dates available.
Defaults to "EIA STEO Global Liquids SD Balance".
Defaults to "million barrels per day"
Defaults to list(x = 0.4, y = 0.53)
"chart" for plotly object or "data" for dataframe.
A plotly object or a dataframe
# NOT RUN {
chart_eia_steo(key = EIAkey, market = "globalOil")
# }
Run the code above in your browser using DataLab