Skip to content

Commit

Permalink
remove cont data flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamullin committed May 24, 2024
1 parent 255c61a commit 9e5c5b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions R/utils_flag_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ applyFlags <- function(in_table, orgs) {
# out <- out

# Aggregated continuous data
out <- TADA::TADA_FlagContinuousData(out, clean = FALSE,
flaggedonly = FALSE)
# out <- TADA::TADA_FlagContinuousData(out, clean = FALSE, flaggedonly = FALSE)

# Above WQX Upper Threshold
out <- TADA::TADA_FlagAboveThreshold(out, clean = FALSE)
Expand Down
9 changes: 4 additions & 5 deletions inst/flag_prompts.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Order,Level,Prompt,flagType
10,Optional,Uncommon or suspect characteristic and analytical method combination (see TADA.AnalyticalMethod.Flag),Uncommon or suspect characteristic and analytical method combination
11,Optional,"Quality Assurance Project Plan (QAPPApprovedIndicator) indicates ""N"" (not approved) or NA","Quality Assurance Project Plan (QAPPApprovedIndicator) indicates ""N"" (not approved) or NA"
12,Optional,Quality Assurance Project Plan (QAPP) document is not available via the ProjectFileUrl (see TADA.QAPPDocAvailable),Quality Assurance Project Plan (QAPP) document is not available via the ProjectFileUrl
13,Optional,Metadata indicates result(s) are continuous (high-frequency sensor measurements or statistics) not discrete (see TADA.ContinuousData.Flag),Metadata indicates result(s) are continuous (high frequency sensor results or statistics) not discrete
14,Optional,"Result value(s) above the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueAboveUpperThreshold.Flag)","Result value(s) above the national upper threshold for a given characteristic, possibly indicating non-sensical value(s)"
15,Optional,"Result value(s) below the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueBelowLowerThreshold.Flag)","Result value(s) below the national lower threshold for a given characteristic, possibly indicating non-sensical value(s)"
16,Optional,Coordinates are outside of the United States (see TADA.InvalidCoordinates.Flag),Coordinates are outside of the United States
17,Optional,Coordinates are imprecise (less than three decimal digits) (see TADA.InvalidCoordinates.Flag),Coordinates are imprecise (less than three decimal digits)
13,Optional,"Result value(s) above the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueAboveUpperThreshold.Flag)","Result value(s) above the national upper threshold for a given characteristic, possibly indicating non-sensical value(s)"
14,Optional,"Result value(s) below the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueBelowLowerThreshold.Flag)","Result value(s) below the national lower threshold for a given characteristic, possibly indicating non-sensical value(s)"
15,Optional,Coordinates are outside of the United States (see TADA.InvalidCoordinates.Flag),Coordinates are outside of the United States
16,Optional,Coordinates are imprecise (less than three decimal digits) (see TADA.InvalidCoordinates.Flag),Coordinates are imprecise (less than three decimal digits)
2 changes: 0 additions & 2 deletions inst/flag_tests.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ flagType,columnName,flagValue,keep,remove
"ActivityTypeCode indicates result value is a QC replicate, duplicate, or blank",TADA.ActivityType.Flag,QC_calibration,0,1
"ActivityTypeCode indicates result value is a QC replicate, duplicate, or blank",TADA.ActivityType.Flag,QC_blank,0,1
"ActivityTypeCode indicates result value is a QC replicate, duplicate, or blank",TADA.ActivityType.Flag,QC_other,0,1
Metadata indicates result(s) are continuous (high frequency sensor results or statistics) not discrete,TADA.ContinuousData.Flag,Discrete,0,0
Metadata indicates result(s) are continuous (high frequency sensor results or statistics) not discrete,TADA.ContinuousData.Flag,Continuous,0,1
Uncommon or suspect characteristic and analytical method combination,TADA.AnalyticalMethod.Flag,Not Reviewed,0,0
Uncommon or suspect characteristic and analytical method combination,TADA.AnalyticalMethod.Flag,Invalid,0,1
Uncommon or suspect characteristic and analytical method combination,TADA.AnalyticalMethod.Flag,Valid,0,0
Expand Down

0 comments on commit 9e5c5b5

Please sign in to comment.