Skip to content

Commit

Permalink
Update example data
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamullin committed Oct 24, 2023
1 parent d0c1d0f commit 1c3314c
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
Binary file removed Data_Nutrients_UT.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion R/ExampleData.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ NULL
#' @keywords datasets
#' @name Data_Nutrients_UT
#' @usage data(Data_Nutrients_UT)
#' @format A data frame with 14589 rows and 148 variables
#' @format A data frame with 14592 rows and 152 variables
NULL

#' Data_Narrow_5d
Expand Down
4 changes: 2 additions & 2 deletions R/Utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ utils::globalVariables(c(

#' TADA_AutoClean
#'
#' Removes rows of data that are true duplicates. Creates new columns with
#' Removes rows of data that are exact duplicates. Creates new columns with
#' prefix "TADA." and capitalizes fields to harmonize data. This function runs
#' "TADA_ConvertSpecialChars", "TADA_ConvertResultUnits",
#' "TADA_ConvertDepthUnits", and "TADA_IDCensoredData" functions, which perform
#' the following QA steps: remove true duplicates, convert result values to
#' the following QA steps: remove exact duplicates, convert result values to
#' numeric, harmonize result and depth units (note: all depth-related columns
#' with populated values are converted to meters in a TADA-specific column),
#' convert text to uppercase letters, substitute outdated (deprecated) characteristic names
Expand Down
Binary file modified data/Data_6Tribes_5y_Harmonized.rda
Binary file not shown.
Binary file modified data/Data_NCTCShepherdstown_HUC12.rda
Binary file not shown.
Binary file modified data/Data_Nutrients_UT.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/Data_Nutrients_UT.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/TADAModule1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ package functions. It joins four WQP profiles: Site,
Sample Results (narrow), Sample Results (physical/chemical metadata),
and Project. In addition, it changes all data in the
Characteristic, Speciation, Fraction, and Unit fields to uppercase,
removes true duplicates, and addresses result values that include
removes exact duplicates, and addresses result values that include
special characters.

This function uses the same inputs as the dataRetrieval `readWQPdata`
Expand Down Expand Up @@ -141,7 +141,7 @@ automatically runs the **TADA_AutoClean** function, which runs the following fun

- **TADA_IDCensoredData** - categorizes detection limit data and identifies mismatches in result detection condition and result detection limit type.

- Other helpful actions - converts important text columns to all upper-case letters, removes true duplicates, and uses WQX format rules to harmonize specific NWIS metadata conventions (e.g. move characteristic speciation from the TADA.ResultMeasure.MeasureUnitCode column to the TADA.MethodSpecificationName column)
- Other helpful actions - converts important text columns to all upper-case letters, removes exact duplicates, and uses WQX format rules to harmonize specific NWIS metadata conventions (e.g. move characteristic speciation from the TADA.ResultMeasure.MeasureUnitCode column to the TADA.MethodSpecificationName column)

As a general rule, TADA functions do not change any contents in the WQP-served
columns. Instead, they add new columns with the prefix "TADA." The following
Expand Down

0 comments on commit 1c3314c

Please sign in to comment.