Description Usage Arguments Note Examples
View source: R/PurpleAirSoH_dailyPctReporting.R
The number of sensor readings recorded per hour are summed over
the course of a calendar day. This is then divided by the
number of samples the sensor would record in an ideal day
(24 * 3600 / samplingInterval
) to return a percentage of each
day that the sensor is reporting data.
1 | PurpleAirSoH_dailyPctReporting(pat = NULL, samplingInterval = 120)
|
pat |
PurpleAir Timeseries pat object. |
samplingInterval |
The number of seconds between samples when the sensor is operating optimally. |
Purple Air II sensors reporting after the June, 2019 firmware upgrade report data every 120 seconds. Prior to the upgrade, data were reported every 80 seconds.
1 2 3 4 5 6 7 | library(AirSensor)
tbl <-
example_pat %>%
PurpleAirSoH_dailyPctReporting(80)
timeseriesTbl_multiPlot(tbl, ylim = c(0,101))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.