Request data from a particular station for the desired time period. Data are returned as a single character string containing the RAWS output.
Station identifiers can be found at https://raws.dri.edu/.
Station identifier (will be upcased).
Desired start date (integer or character representing YYYYMMDD[HH]).
Desired end date (integer or character representing YYYYMMDD[HH]).
Password required for access to archival data.
Base URL for data queries.
String containing RAWS data.
if (FALSE) {
# Fail gracefully if any resources are not available
try({
library(RAWSmet)
fileString <- wrcc_downloadData(wrccID = 'WENU')
cat(fileString)
# Using a password for archival data
fileString <- wrcc_downloadData(
wrccID = "WENU",
startdate = 20200801,
enddate = 20200901,
password = "MY_PASSWORD"
)
}, silent = FALSE)
}