Trading interval level price and demand data is available on the AEMO website. This function downloads these files for each region and period requested.
get_aemo_data(regions, years, months, path = ".")
a case invariant character vector of abbreviated AEMO regions.
Must be one of "nsw"
, "vic"
, "sa"
, "qld"
,
"snowy"
or "tas"
. Snowy region data is only available up
to and including Jun 2008 while Tasmania region data is available from
and including May 2005. Otherwise, all regions have data available from and
including Dec 1998 up to the end of the month previous to the current month.
a numeric vector of years in the form YYYY
. See the
regions
parameter for more info.
a numeric vector of months in the form MM
.See the
regions
parameter for more info.
defaults to "."
(current working directory) and denotes
the path to which the AEMO files are downloaded.
data files whose number corresponds to the maximum length of one of the parameters. The file names have the pattern: "[REGION][YYYY][MM].csv".
AEMO's copyright permissions specify that:
"AEMO confirms its general permission for anyone to use AEMO Material for any purpose, but only with accurate and appropriate attribution of the relevant AEMO Material and AEMO as its author".
# NOT RUN {
get_aemo_data("nsw", 2014, 1)
# }
Run the code above in your browser using DataLab