View source: R/Clarity_createAllOpenMonitors.R
Clarity_createAllOpenMonitors | R Documentation |
Download, parse and enhance the last 3 hours of data from all Clarity "open" sensors and create a new Clarity mts_monitor object for use with the AirMonitor package.
Clarity_createAllOpenMonitors(
api_key = NULL,
format = c("USFS2", "USFS"),
parameter = c("pm2.5", "nowcast"),
applyQC = TRUE,
countryCodes = c("CA", "US", "MX")
)
api_key |
Clarity API READ Key. If |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.