PurpleAirSoH_dailyPctValid: Daily valid percentage

View source: R/PurpleAirSoH_dailyPctValid.R

PurpleAirSoH_dailyPctValidR Documentation

Daily valid percentage

Description

The number of valid (i.e., not NA or out-of-spec) sensor measurements are summed over the course of a calendar day, then divided by the total number of measurements the sensor actually recorded during that day (including NA and out-of-spec values) to return a percentage of the total recorded measurements that are considered plausible. This metric utilizes the same bounds as the pat_qc() function to identify out-of-spec values.

Usage

PurpleAirSoH_dailyPctValid(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

library(AirSensor)
  
tbl <- 
  example_pat %>%
  PurpleAirSoH_dailyPctValid() 

timeseriesTbl_multiPlot(tbl, ylim = c(0,100))

MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.