Description Usage Arguments Value Examples
View source: R/check_realtime_lag.R
Check lag of real time stations using most recent observations and modification date of most recent file.
1 2 | check_realtime_lag(station_number = NULL, prov_terr_state_loc = NULL,
data_interval = "hourly", tracker = FALSE)
|
station_number |
Water Survey of Canada station number. No default. Can also take the "ALL" argument. Currently you can't mix stations from two difference jurisdictions. See examples. |
prov_terr_state_loc |
Province, state or territory. Defaults to "BC". Will not accept ALL. |
data_interval |
Examine hourly or daily data? Defaults to hourly |
tracker |
Should a progress list of stations be printed while the analysis is executed? Defaults to FALSE |
STATION NUMBER Water Survey of Canada station number
time_obs Date and time of most recent observation from that station
time_mod Date and time of data file upload to datamart
time_lag Time difference (in hours) between time_mod
and time_obs
. This value represents
the time delay for the network from data acquisition to data upload.
1 2 3 4 | check_realtime_lag(station_number = c("08NL071","05QB002"))
## To check all stations in PEI:
check_realtime_lag(prov_terr_state_loc = "PE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.