lookupDQBoundScore: For the data quality scores based on ranges, this provides...

View source: R/DataQualityFunctions.R

lookupDQBoundScoreR Documentation

For the data quality scores based on ranges, this provides the appropriate score in relation to either an upper or lower bound passed based on the data quality indicator type.

Description

For the data quality scores based on ranges, this provides the appropriate score in relation to either an upper or lower bound passed based on the data quality indicator type.

Usage

lookupDQBoundScore(raw_score, dqi, scoring_bounds)

Arguments

raw_score

numeric. Raw value used

dqi

string. Name of the DQI category and a column name

scoring_bounds

List. Constant returned by setDQScoringBounds()

Value

integer, a data quality score


USEPA/useeior documentation built on April 12, 2024, 1:36 p.m.