check_quadrat_names: Check for invalid quadrat names

Description Usage Arguments Value Examples

Description

Check a dataframe of quadrat data for invalid quadrat names. This function will flag quadrat names that are the incorrect case (quadrat names are assumed to be all upper-case), as well as NA and missing values.

Usage

1
check_quadrat_names(df, column_name, quadratlist)

Arguments

df

Data frame of quadrat data

column_name

Name of column in df containing quadrat names

quadratlist

Vector of valid quadrat names

Value

Rows from df containing invalid quadrat names, plus additional columns indicating error_type and error_value. If there are no errors, this will return an empty data frame.

Examples

1
check_quadrat_names(df = data, column_name = 'quadrat', quadratlist = dates$quadrat)

emchristensen/quadprocessing documentation built on May 4, 2019, 4:15 a.m.