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

Dates can be anything that is understood by lubrdiate::parse_date_time() including either of the following recommended formats:

• "YYYYmmdd"

• "YYYY-mm-dd"

By default, the current week is loaded.

sensor_load(
collection = "scaqmd",
startdate = NULL,
enddate = NULL,
days = 7,
timezone = "America/Los_Angeles"
)

Arguments

collection Name associated with the collection. Desired start datetime (ISO 8601). Desired end datetime (ISO 8601). Number of days of data to include (7 or 45). Timezone used to interpret start and end dates.

Value

An object of class "airsensor".

# \donttest{