% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gas.R
\name{aemo_gas}
\alias{aemo_gas}
\title{Gas market data (STTM, DWGM)}
\usage{
aemo_gas(market = c("sttm", "dwgm"), hub = NULL, start, end)
}
\arguments{
\item{market}{One of \code{"sttm"} (default) or \code{"dwgm"}.}

\item{hub}{Optional STTM hub: \code{"adelaide"}, \code{"brisbane"}, or
\code{"sydney"}. Ignored for DWGM.}

\item{start, end}{Window.}
}
\value{
An \code{aemo_tbl}.
}
\description{
Returns Short Term Trading Market (\code{STTM}, Adelaide, Brisbane,
Sydney hubs) or Declared Wholesale Gas Market (\code{DWGM},
Victoria) prices and volumes.
}
\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)
})
options(op)
}
}
\concept{gas}
