pwfsl_load: Get PWFSLSmoke monitoring data

View source: R/pwfsl_load.R

pwfsl_loadR Documentation

Get PWFSLSmoke monitoring data

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

pwfsl_load(...)

Arguments

...

Arguments passed on to PWFSLSmoke::monitor_load().

Value

List with meta and data elements, a ws_monitor object.

Examples


library(AirSensor)

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


MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.