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.

pwfsl_load(...)

Arguments

...

Arguments passed on to PWFSLSmoke::monitor_load().

Value

List with meta and data elements, a ws_monitor

object.

Examples

# \donttest{
library(AirSensor)

pwfsl <- pwfsl_load()
dim(pwfsl$meta)
#> [1] 1238   19
dim(pwfsl$data)
#> [1]  265 1239
# }