sensor_loadYear: Load hourly-aggregated PurpleAir data for a month

Description Usage Arguments Value See Also

View source: R/sensor_loadYear.R

Description

A pre-generated airsensor object will be loaded for the given month. Archived data for SCAQMD sensors go back to January, 2018.

The datestamp can must be in the following format:

By default, the current month is loaded.

Each airsensor object contains data from a named collection of PurpleAir sensors.

Usage

1
2
3
4
5
sensor_loadYear(
  collection = "scaqmd",
  datestamp = NULL,
  timezone = "America/Los_Angeles"
)

Arguments

collection

Name associated with the collection.

datestamp

A date string in ymd order.

timezone

Timezone used to interpret datestamp.

Value

An object of class "pa_timeseries".

See Also

pat_createNew


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