streamqa: Supervised quality control of streaming datasets

View source: R/streamingclean.R

streamqaR Documentation

Supervised quality control of streaming datasets

Description

Supervised quality control of streaming datasets

Usage

streamqa(yearmon, parset = NA, setthresh = TRUE, trimends = FALSE,
  paired = TRUE, fdir = getOption("fdir"))

Arguments

yearmon

numeric date in yyyymm format

parset

character vector of column names to QA

setthresh

logical set parameter thresholds

trimends

logical look to trim ends of data stream? NOT IMPLEMENTED YET

paired

logical examine relationships between paried parameters?

fdir

file.path to data directory

Details

loop through parameters giving the opportunity to trim measurement ends, set entire variables to NA, remove variables above/below a threshold

Value

a matrix of the same size/shape of the fulldataset, with entries specifying where to set to NA, saved to DF_FullDataSets/Raw/IntrumentOutput

Examples

## Not run: 
dt<-streamqa(yearmon=201410)

## End(Not run)

jsta/DataflowR documentation built on Sept. 27, 2022, 11:13 p.m.