Returns Short Term Trading Market (STTM, Adelaide, Brisbane,
Sydney hubs) or Declared Wholesale Gas Market (DWGM,
Victoria) prices and volumes.
Usage
aemo_gas(market = c("sttm", "dwgm"), hub = NULL, start, end)Examples
# \donttest{
op <- options(aemo.cache_dir = tempdir())
try({
now <- Sys.time()
g <- aemo_gas(market = "sttm", hub = "sydney",
start = now - 7 * 86400, end = now)
head(g)
})
#> Error in aemo_fetch_report_range(current_dir = current, archive_dir = archive, :
#> No NEMweb files matched the requested range.
#> ℹ Check `start` and `end`, or the pattern "STTM".
options(op)
# }