check_samplerType: check_samplerType. Flag uncommon sampler type

Description Usage Arguments Details Value Examples

View source: R/check_samplerType.R

Description

Function to flag uncommon sampler type

Usage

1
check_samplerType(x, returnAll = FALSE)

Arguments

x

A dataframe output from get_localNWIS

returnAll

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

Details

Function determines most common sampler type from dataset or records and flags all others that are not most common.

Note, there are valid reasons for different sampler types, this is just a check.

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_samplerTypeOut <- check_samplerType(x)

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