SILODownload {SWTools} | R Documentation |
Download SILO data
Description
Download SILO data
Usage
SILODownload(
SiteList,
username = "noemail@net.com",
password = "gui",
path = getwd(),
startdate = "18890101",
enddate = NULL,
ssl = FALSE
)
Arguments
SiteList |
A station number or vector of station numbers, as a string (e.g. "24001") |
username |
SILO user name. Defaults to credentials used by https://www.longpaddock.qld.gov.au/silo/point-data/ |
password |
SILO password |
path |
Where to save the output. Will default to getwd() if not specified |
startdate |
First day of data, in the format "YYYYMMDD". Will default to the first day of the record "18890101" if not specified |
enddate |
Last day of data, in the format "YYYYMMDD". Will default to yesterday if not specified |
ssl |
if true set ssl_cipher_list to "RC4-SHA" for file download. Seems to be necessary on some machines. default to FALSE |
Value
A file for each station will be saved to path, named station number.txt. Nothing is returned to the R environment.
Examples
## Not run:
SILODownload(c("24001","24002","24003"),
path=tempdir(),
startdate="20180101",enddate="20200101")
## End(Not run)
[Package SWTools version 1.0.3 Index]