3L
QC Status: Pass
4L
QC Status: Pass
5L
QC Status: Pass
CS
QC Status: Pass
Detector | Gain | rCV |
---|---|---|
FSC | Pass | Pass |
SSC | Pass | Pass |
SSC-B | Pass | Pass |
V1 | Pass | Pass |
V2 | Pass | Pass |
V3 | Pass | Pass |
V4 | Pass | Pass |
V5 | Pass | Pass |
V6 | Pass | Pass |
V7 | Pass | Pass |
V8 | Pass | Pass |
V9 | Pass | Pass |
V10 | Pass | Pass |
V11 | Pass | Pass |
V12 | Pass | Pass |
V13 | Pass | Pass |
V14 | Pass | Pass |
V15 | Pass | Pass |
V16 | Pass | Pass |
B1 | Pass | Pass |
B2 | Pass | Pass |
B3 | Pass | Pass |
B4 | Pass | Pass |
B5 | Pass | Pass |
B6 | Pass | Pass |
B7 | Pass | Pass |
B8 | Pass | Pass |
B9 | Pass | Pass |
B10 | Pass | Pass |
B11 | Pass | Pass |
B12 | Pass | Pass |
B13 | Pass | Pass |
B14 | Pass | Pass |
R1 | Pass | Pass |
R2 | Pass | Pass |
R3 | Pass | Pass |
R4 | Pass | Pass |
R5 | Pass | Pass |
R6 | Pass | Pass |
R7 | Pass | Pass |
R8 | Pass | Pass |
Detector | Gain | rCV |
---|---|---|
FSC | Pass | Pass |
SSC | Pass | Pass |
SSC-B | Pass | Pass |
UV1 | Pass | Pass |
UV2 | Pass | Pass |
UV3 | Pass | Pass |
UV4 | Pass | Pass |
UV5 | Pass | Pass |
UV6 | Pass | Pass |
UV7 | Pass | Pass |
UV8 | Pass | Pass |
UV9 | Pass | Pass |
UV10 | Pass | Pass |
UV11 | Pass | Pass |
UV12 | Pass | Pass |
UV13 | Pass | Pass |
UV14 | Pass | Pass |
UV15 | Pass | Pass |
UV16 | Pass | Pass |
V1 | Pass | Pass |
V2 | Pass | Pass |
V3 | Pass | Pass |
V4 | Pass | Pass |
V5 | Pass | Pass |
V6 | Pass | Pass |
V7 | Pass | Pass |
V8 | Pass | Pass |
V9 | Pass | Pass |
V10 | Pass | Pass |
V11 | Pass | Pass |
V12 | Pass | Pass |
V13 | Pass | Pass |
V14 | Pass | Pass |
V15 | Pass | Pass |
V16 | Pass | Pass |
B1 | Pass | Pass |
B2 | Pass | Pass |
B3 | Pass | Pass |
B4 | Pass | Pass |
B5 | Pass | Pass |
B6 | Pass | Pass |
B7 | Pass | Pass |
B8 | Pass | Pass |
B9 | Pass | Pass |
B10 | Pass | Pass |
B11 | Pass | Pass |
B12 | Pass | Pass |
B13 | Pass | Pass |
B14 | Pass | Pass |
R1 | Pass | Pass |
R2 | Pass | Pass |
R3 | Pass | Pass |
R4 | Pass | Pass |
R5 | Pass | Pass |
R6 | Pass | Pass |
R7 | Pass | Pass |
R8 | Pass | Pass |
Detector | Gain | rCV |
---|---|---|
FSC | Pass | Pass |
SSC | Pass | Pass |
SSC-B | Pass | Pass |
UV1 | Pass | Pass |
UV2 | Pass | Pass |
UV3 | Pass | Pass |
UV4 | Pass | Pass |
UV5 | Pass | Pass |
UV6 | Pass | Pass |
UV7 | Pass | Pass |
UV8 | Pass | Pass |
UV9 | Pass | Pass |
UV10 | Pass | Pass |
UV11 | Pass | Pass |
UV12 | Pass | Pass |
UV13 | Pass | Pass |
UV14 | Pass | Pass |
UV15 | Pass | Pass |
UV16 | Pass | Pass |
V1 | Pass | Pass |
V2 | Pass | Pass |
V3 | Pass | Pass |
V4 | Pass | Pass |
V5 | Pass | Pass |
V6 | Pass | Pass |
V7 | Pass | Pass |
V8 | Pass | Pass |
V9 | Pass | Pass |
V10 | Pass | Pass |
V11 | Pass | Pass |
V12 | Pass | Pass |
V13 | Pass | Pass |
V14 | Pass | Pass |
V15 | Pass | Pass |
V16 | Pass | Pass |
B1 | Pass | Pass |
B2 | Pass | Pass |
B3 | Pass | Pass |
B4 | Pass | Pass |
B5 | Pass | Pass |
B6 | Pass | Pass |
B7 | Pass | Pass |
B8 | Pass | Pass |
B9 | Pass | Pass |
B10 | Pass | Pass |
B11 | Pass | Pass |
B12 | Pass | Pass |
B13 | Pass | Pass |
B14 | Pass | Pass |
YG1 | Pass | Pass |
YG2 | Pass | Pass |
YG3 | Pass | Pass |
YG4 | Pass | Pass |
YG5 | Pass | Pass |
YG6 | Pass | Pass |
YG7 | Pass | Pass |
YG8 | Pass | Pass |
YG9 | Pass | Pass |
YG10 | Pass | Pass |
R1 | Pass | Pass |
R2 | Pass | Pass |
R3 | Pass | Pass |
R4 | Pass | Pass |
R5 | Pass | Pass |
R6 | Pass | Pass |
R7 | Pass | Pass |
R8 | Pass | Pass |
Detector | Gain | rCV |
---|---|---|
FSC | Pass | Pass |
SSC | Pass | Pass |
SSC-B | Pass | Pass |
UV1 | Pass | Caution |
UV2 | Pass | Caution |
UV3 | Pass | Pass |
UV4 | Pass | Pass |
UV5 | Pass | Pass |
UV6 | Pass | Pass |
UV7 | Pass | Pass |
UV8 | Pass | Pass |
UV9 | Pass | Pass |
UV10 | Pass | Pass |
UV11 | Pass | Pass |
UV12 | Pass | Pass |
UV13 | Pass | Pass |
UV14 | Pass | Pass |
UV15 | Pass | Pass |
UV16 | Pass | Pass |
V1 | Pass | Pass |
V2 | Pass | Pass |
V3 | Pass | Pass |
V4 | Pass | Pass |
V5 | Pass | Pass |
V6 | Pass | Pass |
V7 | Pass | Pass |
V8 | Pass | Pass |
V9 | Pass | Pass |
V10 | Pass | Pass |
V11 | Pass | Pass |
V12 | Pass | Pass |
V13 | Pass | Pass |
V14 | Pass | Pass |
V15 | Pass | Pass |
V16 | Pass | Pass |
B1 | Pass | Pass |
B2 | Pass | Pass |
B3 | Pass | Pass |
B4 | Pass | Pass |
B5 | Pass | Pass |
B6 | Pass | Pass |
B7 | Pass | Pass |
B8 | Pass | Pass |
B9 | Pass | Pass |
B10 | Pass | Pass |
B11 | Pass | Pass |
B12 | Pass | Pass |
B13 | Pass | Pass |
B14 | Pass | Pass |
YG1 | Pass | Pass |
YG2 | Pass | Pass |
YG3 | Pass | Pass |
YG4 | Pass | Pass |
YG5 | Pass | Pass |
YG6 | Pass | Pass |
YG7 | Pass | Pass |
YG8 | Pass | Pass |
YG9 | Pass | Pass |
YG10 | Pass | Pass |
R1 | Pass | Pass |
R2 | Pass | Pass |
R3 | Pass | Pass |
R4 | Pass | Pass |
R5 | Pass | Pass |
R6 | Pass | Pass |
R7 | Pass | Pass |
R8 | Pass | Pass |
#| '!! shinylive warning !!': |
#| shinylive does not work in self-contained HTML documents.
#| Please set `embed-resources: false` in your metadata.
#| standalone: true
#| viewerHeight: 450
webr::install("dplyr")
webr::install("gt")
library(shiny)
library(dplyr)
library(gt)
ui <- fluidPage(
fluidRow(
column(6,
fluidRow(
column(12, align = "center",
dateInput("date", label = "Select Date:", value = Sys.Date())
)
),
fluidRow(
column(12, align = "center",
actionButton("btn_3L", label = "3L"),
actionButton("btn_4L", label = "4L"),
actionButton("btn_5L", label = "5L"),
actionButton("btn_CS", label = "CS")
)
),
fluidRow(
column(12, align = "center",
actionButton("render", label = "Render Output")
)
),
# Output Section
fluidRow(
column(12,
tableOutput("qc_table")
)
)
)
)
)
server <- function(input, output, session) {
data_path <-
paste(
"https://raw.githubusercontent.com",
"UMGCCFCSS", "InstrumentQC",
"main", "data", "HistoricalData.csv",
sep = "/"
)
Data <- read.csv(data_path, check.names = FALSE)
Data$Date <- as.Date(Data$Date)
function_path <-
paste(
"https://raw.githubusercontent.com",
"DavidRach", "Luciernaga",
"master", "R", "DashboardHelpers.R",
sep = "/"
)
source(function_path)
selected_instrument <- reactiveVal()
observeEvent(input$btn_3L, { selected_instrument("3L") })
observeEvent(input$btn_4L, { selected_instrument("4L") })
observeEvent(input$btn_5L, { selected_instrument("5L") })
observeEvent(input$btn_CS, { selected_instrument("CS") })
table_data <- eventReactive(input$render, {
req(input$date, selected_instrument())
InstrumentSubset <- Data %>% filter(Instrument == selected_instrument())
DateSubset <- InstrumentSubset %>% filter(Date == input$date)
if (nrow(DateSubset) > 0) {
TableData <- DateSubset %>% select(-Instrument, -Date)
SmallTable(data = TableData)
} else {
NULL
}
})
output$qc_table <- render_gt({
req(table_data())
table_data()
})
}
app <- shinyApp(ui = ui, server = server)
Instruments
Date | 3L | 4L | 5L | CS |
---|---|---|---|---|
2025-01-17 | Pass | Pass | Pass | Pass |
2025-01-16 | Pass | Pass | Pass | NA |
2025-01-15 | Pass | Pass | Pass | Pass |
2025-01-14 | Pass | Pass | Pass | Caution |
2025-01-13 | Pass | Pass | Pass | Caution |
2025-01-10 | Pass | Pass | Pass | NA |
2025-01-09 | Pass | NA | Pass | Caution |
2025-01-08 | Pass | NA | NA | Caution |
2025-01-07 | Pass | NA | Pass | Caution |
2025-01-05 | Pass | Pass | Pass | NA |
2025-01-04 | Pass | Pass | Caution | NA |
2025-01-03 | Caution | Pass | Pass | NA |
2025-01-02 | Caution | NA | Caution | NA |
2024-12-23 | NA | Pass | Caution | NA |
2024-12-20 | Caution | Caution | Pass | Caution |
2024-12-19 | Caution | Pass | Pass | NA |
2024-12-18 | Caution | Pass | Pass | NA |
2024-12-17 | Pass | Caution | NA | Caution |
2024-12-16 | Caution | Caution | Pass | NA |
2024-12-13 | Caution | Pass | Pass | Caution |
2024-12-12 | Pass | Pass | Pass | NA |
2024-12-11 | Pass | Caution | Pass | NA |
2024-12-10 | Pass | Pass | Caution | NA |
2024-12-09 | Caution | Fail | Caution | NA |
2024-12-07 | NA | NA | Pass | NA |
2024-12-06 | Caution | Pass | Pass | Caution |
2024-12-05 | Pass | Pass | Pass | Caution |
2024-12-04 | Caution | Pass | Pass | NA |
2024-12-03 | Pass | Pass | Caution | Caution |
2024-12-02 | Pass | Pass | Caution | Caution |
2024-11-27 | Fail | NA | Fail | NA |
2024-11-26 | Pass | Pass | Caution | Caution |
2024-11-25 | Caution | Pass | Pass | NA |
2024-11-24 | NA | Pass | NA | NA |
2024-11-22 | Pass | Pass | Caution | NA |
2024-11-21 | Pass | Pass | Caution | Caution |
2024-11-20 | Pass | Pass | Pass | NA |
2024-11-19 | NA | Pass | Pass | NA |
2024-11-18 | Pass | Pass | Pass | NA |
2024-11-15 | Pass | Pass | Caution | NA |
2024-11-14 | NA | Pass | Pass | Caution |
2024-11-13 | Pass | Pass | Caution | NA |
2024-11-12 | Pass | NA | Caution | Caution |
2024-11-11 | Pass | Pass | Caution | Caution |
2024-11-09 | NA | Caution | Caution | NA |
2024-11-08 | Pass | NA | Caution | Caution |
2024-11-07 | Pass | NA | Caution | Caution |
2024-11-06 | Pass | Pass | Pass | NA |
2024-11-05 | Pass | Pass | Caution | Caution |
2024-11-04 | Pass | Pass | Pass | Caution |
2024-11-01 | Pass | Pass | Caution | NA |
2024-10-31 | Pass | Pass | Caution | Caution |
2024-10-30 | Pass | Pass | Caution | NA |
2024-10-29 | Pass | Pass | Pass | Caution |
2024-10-28 | Pass | Pass | Pass | Caution |
2024-10-25 | Pass | Pass | Caution | Caution |
2024-10-24 | Pass | Pass | Pass | NA |
2024-10-23 | Pass | Pass | Caution | Caution |
2024-10-22 | Pass | Pass | Caution | Caution |
2024-10-21 | Pass | Pass | Caution | Caution |
2024-10-18 | Pass | Pass | Pass | Caution |
2024-10-17 | Pass | Pass | Pass | Caution |
2024-10-16 | Pass | Pass | Pass | Caution |
2024-10-15 | Pass | NA | Caution | Caution |
2024-10-14 | NA | Pass | Caution | Caution |
2024-10-11 | Pass | Pass | Pass | Caution |
2024-10-10 | Pass | Pass | Pass | NA |
2024-10-09 | Pass | Pass | Caution | Caution |
2024-10-08 | Pass | Pass | Caution | Caution |
2024-10-07 | Pass | Pass | Caution | Caution |
2024-10-04 | Pass | NA | Caution | Caution |
2024-10-03 | Pass | Pass | Pass | Caution |
2024-10-02 | Pass | Pass | Pass | Caution |
2024-10-01 | Pass | Pass | Pass | Caution |
2024-09-30 | Pass | Pass | Pass | Caution |
2024-09-28 | NA | Caution | Pass | NA |
2024-09-27 | NA | Pass | Caution | Caution |
2024-09-26 | Pass | Pass | Caution | Caution |
2024-09-25 | Pass | Caution | Pass | NA |
2024-09-24 | Pass | Caution | Pass | Fail |
2024-09-23 | Pass | Caution | Caution | Caution |
2024-09-20 | Pass | Caution | Caution | Fail |
2024-09-19 | Pass | Caution | Pass | NA |
2024-09-18 | NA | Caution | Pass | Fail |
2024-09-17 | Pass | Caution | Caution | Fail |
2024-09-16 | Pass | Caution | Caution | NA |
2024-09-13 | Pass | Caution | Caution | Caution |
2024-09-12 | Pass | Caution | Caution | Caution |
2024-09-11 | Pass | NA | Caution | NA |
2024-09-10 | Pass | Caution | Pass | NA |
2024-09-09 | Pass | Caution | Caution | Fail |
2024-09-06 | Pass | Caution | Caution | Fail |
2024-09-05 | Pass | Caution | Caution | Caution |
2024-09-04 | Pass | Caution | Caution | Caution |
2024-09-03 | Pass | Caution | Caution | Fail |
2024-08-30 | Pass | Caution | Caution | Caution |
2024-08-29 | Pass | Caution | Caution | NA |
2024-08-28 | Pass | Caution | Caution | Fail |
2024-08-27 | Pass | Caution | Caution | NA |
2024-08-26 | Pass | Caution | Caution | Fail |
2024-08-23 | Pass | Caution | Caution | Caution |
2024-08-22 | Pass | Caution | Caution | NA |
2024-08-21 | Pass | Caution | Caution | Caution |
2024-08-20 | Pass | Caution | Pass | Caution |
2024-08-19 | Pass | Caution | Caution | Fail |
2024-08-16 | Pass | Caution | NA | NA |
2024-08-15 | Pass | Caution | Caution | Fail |
2024-08-14 | Pass | Caution | Caution | NA |
2024-08-13 | Pass | Caution | Caution | Caution |
2024-08-12 | Pass | Caution | Pass | Fail |
2024-08-09 | Pass | Caution | Caution | Caution |
2024-08-08 | Pass | Caution | Caution | Caution |
2024-08-07 | Pass | Caution | Caution | Caution |
2024-08-06 | Pass | Caution | Caution | NA |
2024-08-05 | Pass | Caution | Caution | NA |
2024-08-04 | NA | NA | Pass | NA |
2024-08-02 | Pass | Caution | Pass | Fail |
2024-08-01 | Pass | NA | Caution | NA |
2024-07-31 | Pass | Caution | Caution | NA |
2024-07-30 | Pass | Caution | Caution | NA |
2024-07-29 | NA | Caution | Caution | NA |
2024-07-26 | Pass | Caution | Caution | Caution |
2024-07-25 | Pass | Caution | Caution | Caution |
2024-07-24 | Pass | Caution | Caution | Caution |
2024-07-23 | Pass | Pass | Caution | Fail |
2024-07-22 | Pass | Pass | Caution | NA |