Request data for a particular station. Data are returned as a single character string containing the RAWS output.
Station identifiers can be found at https://cefa.dri.edu/raws/RAWSfw13list.xlsx
and can be downloaded with cefa_createMeta
.
cefa_downloadData(nwsID = NULL, baseUrl = "https://cefa.dri.edu/raws/fw13/")
NWS RAWS station identifier.
Base URL for data queries.
String containing RAWS data.
if (FALSE) {
# Fail gracefully if any resources are not available
try({
library(RAWSmet)
fileString <- cefa_downloadData(nwsID = 500742)
print(readr::read_lines(fileString)[1:10])
}, silent = FALSE)
}