Gilead-BioStats / gsm

Good Statistical Monitoring R Package
https://gilead-biostats.github.io/gsm/
Apache License 2.0
39 stars 9 forks source link

Flag colors #1898

Closed jonthegeek closed 1 month ago

jonthegeek commented 1 month ago

Overview

Fix output classes in MakeMetricTable(). Update and standardize Report_MetricTable() and Report_FlagOverTime() coloration.

Test Notes/Sample Code

Report_FlagOverTime(
  reportingResults,
  reportingMetrics
)
Report_MetricTable(
  dfResults = reportingResults %>%
    dplyr::filter(
      .data$MetricID == "kri0001"
    ) %>%
    FilterByLatestSnapshotDate(),
  dfGroups = reportingGroups
)
# For comparison
MakeMetricTable(
  dfResults = reportingResults %>%
    dplyr::filter(
      .data$MetricID == "kri0001"
    ) %>%
    FilterByLatestSnapshotDate(),
  dfGroups = reportingGroups
) %>% 
  tibble::as_tibble()

Connected Issues