TADA_FieldValuesTable | R Documentation |
Function creates a dataframe containing the relative proportions of values in a given field in a TADA dataset.
TADA_FieldValuesTable(.data, field = "null", characteristicName = "null")
.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. |
A summary dataframe.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.