Learn R Programming

aemo (version 0.4.3)

aemo_nemweb_ls: List files in a NEMweb directory

Description

Returns a data frame of files in a NEMweb path, parsed from the Apache directory-listing HTML.

Usage

aemo_nemweb_ls(path)

Value

A data frame with name, modified, size, url.

Arguments

path

NEMweb subpath (e.g. "/Reports/Current/DispatchIS_Reports/"). Leading and trailing slashes are optional.

See Also

Other low-level: aemo_nemweb_download()

Examples

Run this code
# \donttest{
op <- options(aemo.cache_dir = tempdir())
try({
  files <- aemo_nemweb_ls("/Reports/Current/DispatchIS_Reports/")
  head(files)
})
options(op)
# }

Run the code above in your browser using DataLab