Skip to content

Commit

Permalink
update flag prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamullin committed Nov 21, 2024
1 parent b20075d commit 987f9fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/mod_query_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ mod_query_data_server <- function(id, tadat) {
readFile(tadat, input$progress_file$datapath)
})

# if user presses example data button, make tadat$raw the nutrients dataset contained within the TADA package.
# if user presses example data button, make tadat$raw the one of the example_data contained within the TADA package.
shiny::observeEvent(input$example_data_go, {
# a modal that pops up showing it's working on querying the portal
shinybusy::show_modal_spinner(
Expand Down
2 changes: 1 addition & 1 deletion inst/flag_prompts.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Order,Level,Prompt,flagType
8,Optional,Metadata indicates duplicative uploads of the same results within a single organization (see TADA.SingleOrgDup.Flag),Single org duplicates
9,Optional,Metadata indicates duplicative uploads of the same results by multiple organizations (see TADA.ResultSelectedMultipleOrgs),Metadata indicates duplicative uploads of the same results by multiple organizations
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",No approved QAPP
11,Optional,"Quality Assurance Project Plan (QAPPApprovedIndicator) indicates ""N"" (not approved) or NA",QAPP not approved or NA
12,Optional,Quality Assurance Project Plan (QAPP) document is not available via the ProjectFileUrl (see TADA.QAPPDocAvailable),Missing QAPP doc
13,Optional,"Result value(s) above the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueAboveUpperThreshold.Flag)",Above upper threshold
14,Optional,"Result value(s) below the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueBelowLowerThreshold.Flag)",Below lower threshold
Expand Down
6 changes: 3 additions & 3 deletions inst/flag_tests.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flagType,columnName,flagValue,keep,remove,,,
No approved QAPP,QAPPApprovedIndicator,NA,0,1,,,
No approved QAPP,QAPPApprovedIndicator,Y,0,0,,,
No approved QAPP,QAPPApprovedIndicator,N,0,1,,,
QAPP not approved or NA,QAPPApprovedIndicator,NA,0,1,,,
QAPP not approved or NA,QAPPApprovedIndicator,Y,0,0,,,
QAPP not approved or NA,QAPPApprovedIndicator,N,0,1,,,
"ActivityTypeCode indicates result value is a QC replicate, duplicate, or blank",TADA.ActivityType.Flag,Non_QC,0,0,,,
"ActivityTypeCode indicates result value is a QC replicate, duplicate, or blank",TADA.ActivityType.Flag,QC_replicate,0,1,,,
"ActivityTypeCode indicates result value is a QC replicate, duplicate, or blank",TADA.ActivityType.Flag,QC_duplicate,0,1,,,
Expand Down

0 comments on commit 987f9fd

Please sign in to comment.