View source: R/wrcc_createRawsObject.R
wrcc_createRawsObject | R Documentation |
Obtains station data from a WRCC webservice and converts
it into a quality controlled, metadata enhanced "raw" tibble
ready for use with all raw_~
functions.
Steps involved include:
download data text
parse data text
standardized names
wrcc_createRawsObject(
wrccID = NULL,
meta = NULL,
startdate = strftime(lubridate::now(tzone = "UTC"), "%Y%m0101", tz = "UTC"),
enddate = strftime(lubridate::now(tzone = "UTC"), "%Y%m%d23", tz = "UTC"),
password = NULL,
baseUrl = "https://wrcc.dri.edu/cgi-bin/wea_list2.pl",
verbose = FALSE
)
wrccID |
Station identifier found in 'meta'. |
meta |
Tibble of RAWS metadata containing |
startdate |
Desired start date (integer or character representing YYYYMMDD[HH]). |
enddate |
Desired end date (integer or character representing YYYYMMDD[HH]). |
password |
Password required for access to archival data. |
baseUrl |
Base URL for data queries. |
verbose |
Logical flag controlling detailed progress statements. |
Timeseries object with 'meta' and 'data'.
wrcc_downloadData
wrcc_parseData
## Not run:
library(RAWSmet)
waWALD <-
wrcc_createRawsObject(wrccID = 'waWALD')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.