chart_eia_sd
Supply Demand Balance from EIA Short Term Energy Outlook.
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"
)
"mogas", "dist", "jet" or "resid".
Your private EIA API token.
Date as character "2020-07-01". Default to all dates available.
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_sd(key = EIAkey, market = "mogas")
# }
Run the code above in your browser using DataLab