check_all: check_all. Run all project level review checks, counts,...

Description Usage Arguments Details Value See Also Examples

View source: R/check_all.R

Description

Function to run all project level review checks, counts, finds, and calcs on a dataset.

Usage

1
check_all(x, qa.db = "02", includeUV = FALSE, returnAllTables = FALSE)

Arguments

x

A dataframe output from get_localNWIS

qa.db

A character string containing the database number of QA samples (for check_qaqcDB function), should be same QA DB used in get_localNWIS

includeUV

Logical. If x was returned from get_UVflow. Run optional flagging in check_Q.

returnAllTables

Return all tables of flagged results

Details

Runs all check_, count_, and find_ functions and outputs a summary dataframe of flagged samples or a list of all flag results if returnAllTables = TRUE

Value

A dataframe containing all samples with applicable flags

See Also

check_bagIE,check_commentsNoResult, check_Q, check_metaData, check_samplePurp, check_samplerType, check_sedMass, check_tss, check_verticals, check_qaqcDB count_methodsBySite, count_sampleStatus, find_boxcoef find_outliers, find_provisional, calc_concSandFine, calc_summaryStats

Examples

1
2
3
4
5
6
7
8
data("exampleData",package="sedReview")
x <- exampleData
allChecks <- check_all(x, returnAllTables = FALSE)
allChecksList <- check_all(x, returnAllTables = TRUE)
## Not run: 
view(allChecksList$flaggedSamples)

## End(Not run)

USGS-R/sedReview documentation built on Aug. 24, 2020, 9 p.m.