monitor_subsetBy: Subset ws_monitor Object with a Filter

Description Usage Arguments Value Examples

View source: R/monitor_subsetBy.R

Description

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

Usage

1
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

1
2
3
4
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

PWFSLSmoke documentation built on Oct. 6, 2018, 1:03 a.m.