check_verticals: check_verticals. Check if number of verticals in EDI/EWI...

Description Usage Arguments Details Value Examples

View source: R/check_verticals.R

Description

Function to check if number of verticals in EDI/EWI samples is correct

Usage

1
check_verticals(x, returnAll = FALSE, reviewSummary = FALSE)

Arguments

x

A dataframe output from get_localNWIS

returnAll

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

reviewSummary

logical, for center-level review, if TRUE a summary count of flags by site and water year is returned instead of individual flagged samples.

Details

function to test EDI sample collected correctly. Number of sampling verticals 4-9.

function to test EWI sample collected correctly. Number of verticals between 10 and 20.

Rejected samples are not included.

Value

A dataframe containing all samples with applicable flags

Examples

1
2
3
data("exampleData",package="sedReview")
x <- exampleData
check_verticalsOut <- check_verticals(x)

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