Given a product group extracts all information to create SD Balances.
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"
)
A plotly object or a dataframe
"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.
Philippe Cote
if (FALSE) {
chart_eia_sd(key = key, market = "mogas")
}
Run the code above in your browser using DataLab