View source: R/Clarity_updateAllOpenMonitors.R
Clarity_updateAllOpenMonitors | R Documentation |
Download, parse and enhance the last 3 hours of data from all Clarity "open" sensors and append new data to the incoming Clarity mts_monitor object package.
Clarity_updateAllOpenMonitors(
api_key = NULL,
monitor = NULL,
format = c("USFS2", "USFS"),
parameter = c("pm2.5", "nowcast"),
applyQC = TRUE,
countryCodes = c("CA", "US", "MX")
)
api_key |
Clarity API READ Key. If |
monitor |
Previously generated mts_monitor object. |
format |
Customized output format ("USFS2", "USFS"). |
parameter |
Parameter to use for data ("pm2.5" or "nowcast") |
applyQC |
Logical specifying whether to use the Clarity QCFlag to invalidate data values. |
countryCodes |
Vector of ISO 3166-1 alpha-2 country codes used to filter available data. |
An AirMonitor package mts_monitor object.
Maintenance of unique device-deployments will be preserved. If any Clarity sensor is reported as having a new location, a new deployment will be created as a separate time series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.