Skip to content

Commit

Permalink
update flag functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamullin committed Dec 13, 2024
1 parent c650cff commit 6427df7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/utils_flag_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ applyFlags <- function(in_table, orgs) {
out <- EPATADA::TADA_FlagResultUnit(out, clean = "none")

# QC rep/blank
out <- EPATADA::TADA_FindQCActivities(out, clean = FALSE)
out <- EPATADA::TADA_FindQCActivities(out, clean = FALSE, flaggedonly = FALSE)

# Result is flagged as suspect by data submitter
out <- EPATADA::TADA_FlagMeasureQualifierCode(out, clean = FALSE, define = TRUE)
Expand All @@ -116,8 +116,7 @@ applyFlags <- function(in_table, orgs) {

# Continuous data
out <- EPATADA::TADA_FlagContinuousData(out, clean = FALSE,
flaggedonly = FALSE,
time_difference = 4)
flaggedonly = FALSE)

# Above WQX Upper Threshold
out <- EPATADA::TADA_FlagAboveThreshold(out, clean = FALSE)
Expand Down

0 comments on commit 6427df7

Please sign in to comment.