chemCheck: chemCheck Function to flag samples if basic chemistry is...

Description Usage Arguments Details Value Examples

View source: R/chemCheck.R

Description

chemCheck Function to flag samples if basic chemistry is unreasonable

Usage

1
chemCheck(qw.data, returnAll = FALSE)

Arguments

qw.data

A qw.data list generated from readNWISodbc

returnAll

logical, return dataframe containing all results or only return flagged samples. Defualt is FALSE

Details

Performs chemical checks for expected ranges of O2, pH, Sc, and chargebalance. Definitions of checks can be found at https://internal.cida.usgs.gov/NAWQA/data_checks/docs/files/check30-sql.html

Value

A dataframe containing all samples with applicable flags

Examples

1
2
3
data("exampleData",package="WQReview")
chemCheckOut <- chemCheck(qw.data=qw.data,
             returnAll = FALSE)

USGS-R/WQ-Review documentation built on Nov. 12, 2019, 9:51 a.m.