Skip to contents

Plot QC flag results for a continuous monitoring parameter

Usage

anlzASRflag(flagdat)

Arguments

flagdat

data frame returned by utilASRflag.

Value

An interactive plotly object.

Details

Produces an interactive plotly time series showing all observations as a line, with non-passing observations overlaid as markers. Marker colour indicates which QC check fired:

  • Gross range — red

  • Spike — orange

  • Rate of change — purple

  • Flatline — blue

Marker shape indicates severity:

  • Suspect — upward triangle

  • Fail — cross (×)

An observation flagged by multiple checks appears as a marker for each check that fired, allowing all sources of concern to be visible.

Examples

contpth <- system.file('extdata/ExampleCont1.xlsx', package = 'AquaSensR')
dqopth <- system.file('extdata/ExampleDQO.xlsx', package = 'AquaSensR')

contdat <- readASRcont(contpth, tz = 'Etc/GMT+5', runchk = FALSE)
dqodat <- readASRdqo(dqopth, runchk = FALSE)

flagdat <- utilASRflag(contdat, dqodat, param = 'Water Temp_C')
anlzASRflag(flagdat)