Description Usage Arguments Value See Also Examples
View source: R/sensor_loadLatest.R
A pre-generated airsensor
object will be loaded
containing data for the most recent 7 or 45-day interval.
Each airsensor
object contains data from a named collection of
PurpleAir sensors.
1 | sensor_loadLatest(collection = "scaqmd", days = 7)
|
collection |
Name associated with the collection. |
days |
Number of days of data to include (7 or 45). |
An object of class "pa_timeseries".
sensor_load
sensor_loadMonth
pat_createAirSensor
1 2 3 4 5 6 | library(AirSensor)
setArchiveBaseUrl("http://data.mazamascience.com/PurpleAir/v1")
sensor_loadLatest("scaqmd") %>%
PWFSLSmoke::monitor_timeseriesPlot(style = 'gnats')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.