TADA_FieldValuesTable: Field Values Summary Table

View source: R/autoFilter.R

TADA_FieldValuesTableR Documentation

Field Values Summary Table

Description

Function creates a dataframe containing the relative proportions of values in a given field in a TADA dataset.

Usage

TADA_FieldValuesTable(.data, field = "null", characteristicName = "null")

Arguments

.data

TADA dataframe

field

The field (column) the user would like to see represented in a pie chart.

characteristicName

Optional. Defaults to "null". A vector of TADA-converted (all caps) WQP characteristics a user may provide to filter the results to one or more characteristics of interest. "null" will show a summary table for the whole dataset.

Value

A summary dataframe.

Examples

# Load example dataset:
data(Data_Nutrients_UT)

# Create a list of parameters in the dataset and the number of records of
# each parameter:
TADA_FieldValuesTable(Data_Nutrients_UT, field = "TADA.CharacteristicName")


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