Description Usage Arguments Value See Also Examples
View source: R/monitor_isolate.R
Filters ws_monitor
according to the parameters
passed in. If any parameter is not specified, that parameter will not be used in the filtering.
After filtering, each monitorID found in ws_monitor
is extracted
and its data
dataframe is restricted to the times from when that monitor first
datapoint until its last datapoint.
This function is useful when ws_monitor objects are created for mobile monitors that are deployed to different locations in different years.
1 2 3 4 5 6 7 8 9 |
ws_monitor |
ws_monitor object |
xlim |
optional vector with low and high longitude limits |
ylim |
optional vector with low and high latitude limits |
tlim |
optional vector with start and end times (integer or character representing YYYYMMDD[HH] or |
monitorIDs |
optional vector of monitorIDs |
stateCodes |
optional vector of stateCodes |
timezone |
Olson timezone passed to |
A list of isolated ws_monitor objects.
monitor_subset
1 2 3 4 5 6 | N_M <- Northwest_Megafires
# monitor_leaflet(N_M) # to identify Spokane monitorIDs
Spokane <- monitor_subsetBy(N_M, stringr::str_detect(N_M$meta$monitorID,'^53063'))
Spokane$meta$monitorID
monitorList <- monitor_isolate(Spokane)
names(monitorList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.