pwfsl_load: Get PWFSLSmoke monitoring data

Description Usage Arguments Value Examples

View source: R/pwfsl_load.R

Description

Loads recent PM2.5 monitoring data from the US Forest Service Pacific Wildland Fire Sciences Lab. This function performs the same data loading step as pwfsl_loadLatest(), but has a shorter name for consistency with other data loading functions in the AirSensor package. By default, this function loads data from all 50 states for the past 10 days.

By default, this function is a wrapper around PWFSLSmoke::monitor_loadLatest. But it can also be used as a wrapper around PWFSLSmoke::monitor_load by passing in arguments.

If you pass in arguments, e.g. starttime and endtime, PWFSLSmoke::monitor_load() will be invoked. Otherwise, PWFSLSmoke::monitor_loadLatest() will be invoked.

Usage

1

Arguments

...

Arguments passed on to PWFSLSmoke::monitor_load().

Value

List with meta and data elements, a ws_monitor object.

Examples

1
2
3
4
5
library(AirSensor)

pwfsl <- pwfsl_load()
dim(pwfsl$meta)
dim(pwfsl$data)

AirSensor documentation built on March 13, 2021, 1:07 a.m.