PWFSLSmoke (version 1.2.100)

monitor_subsetBy: Subset ws_monitor Object with a Filter

Description

The incoming ws_monitor object is filtered according to filter. Either meta data or actual data can be filtered.

Usage

monitor_subsetBy(ws_monitor, filter)

Arguments

ws_monitor

ws_monitor object

filter

a filter to use on the ws_monitor object

Value

A ws_monitor object with a subset of the input ws_monitor object.

Examples

Run this code
# NOT RUN {
N_M <- Northwest_Megafires
boise_tz <- monitor_subsetBy(N_M, timezone == 'America/Boise')
boise_tz_very_unhealthy <- monitor_subsetBy(boise_tz, data > AQI$breaks_24[5])
boise_tz_very_unhealthy$meta$siteName
# }

Run the code above in your browser using DataLab