Description Usage Arguments Value See Also Examples
View source: R/sensor_loadMonth.R
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:
"YYYYmm"
By default, the current month is loaded.
Each airsensor
object contains data from a named collection of
PurpleAir sensors.
1 2 3 4 5 | sensor_loadMonth(
collection = "scaqmd",
datestamp = NULL,
timezone = "America/Los_Angeles"
)
|
collection |
Name associated with the collection. |
datestamp |
A date string in ymd order. |
timezone |
Timezone used to interpret |
An object of class "pa_timeseries".
pat_createNew
1 2 3 4 5 6 | library(AirSensor)
setArchiveBaseUrl("http://data.mazamascience.com/PurpleAir/v1")
sensor_loadMonth("scaqmd", 202005) %>%
PWFSLSmoke::monitor_timeseriesPlot(style = 'gnats')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.