Skip to content

Commit

Permalink
Merge pull request #108 from USEPA/matchTADA
Browse files Browse the repository at this point in the history
flag functions
  • Loading branch information
cristinamullin authored Sep 15, 2023
2 parents 3fa1f7d + 82a8914 commit 0f8c89b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/utils_flag_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ applyFlags <- function(in_table, orgs) {
# QC rep/blank
out <- TADA::TADA_FindQCActivities(out, clean = FALSE)

# Result is flagged as suspect by data submitter
out <- TADA::TADA_FlagMeasureQualifierCode(out, clean = FALSE)

# Invalid analytical method
out <- TADA::TADA_FlagMethod(out, clean = FALSE)

Expand Down Expand Up @@ -126,11 +129,13 @@ applyFlags <- function(in_table, orgs) {
# Convert depth height units - THIS ONE ONLY GETS RUN WHEN USER RUNS THE CLEANING
# FILTER AFTER MAKING ALL DECISIONS, AND SUMMARY COUNTS BASED ON UNIQUE UNITS IN
# DEPTH HEIGHT COLUMNS
# CM - this is already done via TADA autoclean 9/12/23, simply add note somewhere for users?
# out <-
# TADA::TADA_ConvertDepthUnits(out, unit = 'ft', transform = TRUE) # input$depthunit is dummy variable that would connect to the drop down

# Convert time zones - no flag function to run beforehand. This one might be
# tricky to implement - acts on ActivityStartTime.Time?
# CM - this is already done via dataRetrieval 9/12/23, simply add note somewhere for users?
#out = out

# Invalid coordinates - not included in mock up page?
Expand Down

0 comments on commit 0f8c89b

Please sign in to comment.