TADA_CheckColumns: Check Columns

View source: R/Utilities.R

TADA_CheckColumnsR Documentation

Check Columns

Description

This function checks if the expected column names are in the dataframe. It is used at the beginning of TADA functions to ensure the input data frame is suitable (i.e. is either the full physical/chemical results profile downloaded from WQP or the TADA profile template downloaded from the EPA TADA webpage.)

Usage

TADA_CheckColumns(.data, expected_cols)

Arguments

.data

A dataframe

expected_cols

A vector of expected column names as strings


USEPA/TADA documentation built on April 12, 2025, 1:47 p.m.