This page provides a sample Site KRI Report generated using the
standard KRIs included in the gsm.kri package. Expand the
“Setup” section below to see the code used to generate the report. Or
scroll down for the standard KRI report output.
# Load libraries
library(gsm.core)
library(gsm.kri)
library(here)
## Retired metric: inactive, with results in earlier snapshots only.
## The example data have none, so one is copied from the Adverse Event Rate.
dfMetrics <- gsm.core::reportingMetrics %>%
dplyr::filter(MetricID == "Analysis_kri0001") %>%
dplyr::mutate(
MetricID = "Analysis_kri9999",
Metric = "Retired Metric",
Abbreviation = "RET",
Active = FALSE
) %>%
dplyr::bind_rows(gsm.core::reportingMetrics, .)
dfResults <- gsm.core::reportingResults %>%
dplyr::filter(
MetricID == "Analysis_kri0001",
SnapshotDate < max(SnapshotDate)
) %>%
dplyr::mutate(MetricID = "Analysis_kri9999") %>%
dplyr::bind_rows(gsm.core::reportingResults, .)
## Site Report
lCharts <- gsm.kri::MakeCharts(
dfResults = dfResults,
dfGroups = gsm.core::reportingGroups,
dfMetrics = dfMetrics,
dfBounds = gsm.core::reportingBounds
)
## Parsed -2,-1,2,3 to numeric vector: -2, -1, 2, 3
## Parsed -2,-1,2,3 to numeric vector: -2, -1, 2, 3
## Parsed -3,-2,2,3 to numeric vector: -3, -2, 2, 3
## Parsed -3,-2,2,3 to numeric vector: -3, -2, 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed 2,3 to numeric vector: 2, 3
## Parsed -3,-2,2,3 to numeric vector: -3, -2, 2, 3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.9,0.85 to numeric vector: 0.9, 0.85
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 1.5,2.5 to numeric vector: 1.5, 2.5
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 1,2 to numeric vector: 1, 2
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 1,2 to numeric vector: 1, 2
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.2,0.3 to numeric vector: 0.2, 0.3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.2,0.3 to numeric vector: 0.2, 0.3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.2,0.3 to numeric vector: 0.2, 0.3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.2,0.3 to numeric vector: 0.2, 0.3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.2,0.3 to numeric vector: 0.2, 0.3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed 0.2,0.3 to numeric vector: 0.2, 0.3
## MetricID not found in dfBounds. Please double check input data if intentional.
## Warning: Warning: Failed to parse strThreshold ('NA') to a numeric vector.
## MetricID not found in dfBounds. Please double check input data if intentional.
## Parsed -2,-1,2,3 to numeric vector: -2, -1, 2, 3
## Warning: No data found for specified snapshot date: 2025-04-01. No charts will be
## generated.
| Nickname | OAK-99 |
| Status | Active |
| Site Activation | 141 / 150 (94%) |
| Participant Enrollment | 754 / 1000 (75.4%) |
Missing delta columns in dfResults: Flag_Change, Flag_Previous, Score_Change, Score_Previous, Numerator_Previous, Denominator_Previous, Metric_Previous . Not rendering list of newly changed flags.NULL
| Active | Type | ID | GroupLevel | Abbreviation | Metric | Numerator | Denominator | Model | AnalysisType | Score | Threshold | AccrualThreshold | AccrualMetric | GenerateRiskSignal | Priority | Flag | ScoreCol | RiskScoreWeight | WindowDays | ValueCol | WindowLength | NumeratorCol | DenominatorCol | nPropRate | nNumDeviations | MetricID |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TRUE | Analysis | kri0001 | Site | AE | Adverse Event Rate | Adverse Events | Days on Study | Normal Approximation | rate | Adjusted Z-Score | -2,-1,2,3 | 30 | Denominator | TRUE | 0 | -2,-1,0,1,2 | NA | 32,16,0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0001 |
| TRUE | Analysis | kri0002 | Site | SAE | Serious Adverse Event Rate | Serious Adverse Events | Days on Study | Normal Approximation | rate | Adjusted Z-Score | -2,-1,2,3 | 30 | Denominator | TRUE | 0 | -2,-1,0,1,2 | NA | 8,0,0,4,8 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0002 |
| TRUE | Analysis | kri0003 | Site | PD | Non-Important Protocol Deviation Rate | Non-Important Protocol Deviations | Days on Study | Normal Approximation | rate | Adjusted Z-Score | -3,-2,2,3 | 30 | Denominator | TRUE | 0 | -2,-1,0,1,2 | NA | 8,4,0,8,16 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0003 |
| TRUE | Analysis | kri0004 | Site | IPD | Important Protocol Deviation Rate | Important Protocol Deviations | Days on Study | Normal Approximation | rate | Adjusted Z-Score | -3,-2,2,3 | 30 | Denominator | TRUE | 0 | -2,-1,0,1,2 | NA | 0,0,0,16,32 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0004 |
| TRUE | Analysis | kri0005 | Site | LB | Grade 3+ Lab Abnormality Rate | Grade 3+ Abnormal Labs Samples | Total Lab Samples | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 10 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0005 |
| TRUE | Analysis | kri0006 | Site | SDSC | Study Discontinuation Rate | Subjects Discontinued - Study | Enrolled Subjects | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 3 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,16,32 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0006 |
| TRUE | Analysis | kri0007-2 | Site | PTDC | Premature Treatment Discontinuation Rate | Enrolled and dosed participants who did not complete study drug per protocol | Enrolled & Dosed Subjects | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 3 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,16,32 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0007-2 |
| TRUE | Analysis | kri0008 | Site | QRY | Query Rate | Queries | Total Data Points | Normal Approximation | rate | Adjusted Z-Score | 2,3 | 30 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0008 |
| TRUE | Analysis | kri0009 | Site | OQRY | Delayed Query Resolution Rate | Queries That Were Open > 30 Days | Total Queries | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 30 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0009 |
| TRUE | Analysis | kri0010 | Site | ODAT | Delayed Data Entry Rate | Data Pages Entered > 10 Days | Total Data Pages | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 30 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0010 |
| TRUE | Analysis | kri0011 | Site | CDAT | Data Change Rate | Data Points with 1+ Change | Total Data Points | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 100 | Numerator | TRUE | 0 | 0,1,2 | NA | 0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0011 |
| TRUE | Analysis | kri0012 | Site | SF | Screen Failure Rate | Screen Failures | Screened Subjects | Normal Approximation | binary | Adjusted Z-Score | -3,-2,2,3 | 3 | Denominator | TRUE | 0 | -2,-1,0,1,2 | NA | 0,0,0,8,16 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0012 |
| TRUE | Analysis | kri0013 | Site | PK | PK Collection Compliance Rate | PK Samples Collected | PK Samples Expected | Identity | identity | PK Collection Compliance Rate | 0.9,0.85 | 3 | Difference | TRUE | 0 | -2,-1,0 | NA | NA | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0013 |
| TRUE | Analysis | kri0014 | Site | IE | Ineligibility | Number of subjects ineligible | Number of subjects enrolled | Identity (Numerator) | identity | Ineligible Participants | 1.5,2.5 | 3 | Denominator | TRUE | 0 | 0,1,2 | Numerator | 0,8,16 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0014 |
| TRUE | Analysis | kri0015 | Site | DTH90 | Premature Death Rate | Deaths in First 90 Days | Enrolled Subjects | Identity | identity | Numerator | 1,2 | 1 | Denominator | TRUE | 0 | 0,1,2 | NA | 0,8,16 | 90 | NA | NA | NA | NA | NA | NA | Analysis_kri0015 |
| TRUE | Analysis | kri0019 | Site | IPNS | IP Non-Starter Rate | IP Non-Starters (Confirmed or Potential outside window) | Enrolled Subjects | Identity | identity | Numerator | 1,2 | 1 | Denominator | TRUE | 0 | 0,1,2 | NA | 0,4,8 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0019 |
| TRUE | Analysis | kri0020a | Site | RMW | Repeat Measure (Weight) | Windows of Consecutive Identical Weight Values | Evaluable Weight Windows | Identity | identity | Weight Consecutive Repeat Rate | 0.2,0.3 | 3 | Denominator | TRUE | 0 | 0,1,2 | NA | NA | NA | weight | 3 | Numerator | Denominator | NA | NA | Analysis_kri0020a |
| TRUE | Analysis | kri0020b | Site | RMHR | Repeat Measure (Heart Rate) | Windows of Consecutive Identical Heart Rate Values | Evaluable Heart Rate Windows | Identity | identity | Heart Rate Consecutive Repeat Rate | 0.2,0.3 | 3 | Denominator | TRUE | 0 | 0,1,2 | NA | NA | NA | pulse | 3 | Numerator | Denominator | NA | NA | Analysis_kri0020b |
| TRUE | Analysis | kri0020c | Site | RMSBP | Repeat Measure (Systolic BP) | Windows of Consecutive Identical Systolic BP Values | Evaluable Systolic BP Windows | Identity | identity | Systolic BP Consecutive Repeat Rate | 0.2,0.3 | 3 | Denominator | TRUE | 0 | 0,1,2 | NA | NA | NA | sysbp | 3 | Numerator | Denominator | NA | NA | Analysis_kri0020c |
| TRUE | Analysis | kri0020d | Site | RMDBP | Repeat Measure (Diastolic BP) | Windows of Consecutive Identical Diastolic BP Values | Evaluable Diastolic BP Windows | Identity | identity | Diastolic BP Consecutive Repeat Rate | 0.2,0.3 | 3 | Denominator | TRUE | 0 | 0,1,2 | NA | NA | NA | diabp | 3 | Numerator | Denominator | NA | NA | Analysis_kri0020d |
| TRUE | Analysis | kri0020e | Site | RMRR | Repeat Measure (Respiratory Rate) | Windows of Consecutive Identical Respiratory Rate Values | Evaluable Respiratory Rate Windows | Identity | identity | Respiratory Rate Consecutive Repeat Rate | 0.2,0.3 | 3 | Denominator | TRUE | 0 | 0,1,2 | NA | NA | NA | resp | 3 | Numerator | Denominator | NA | NA | Analysis_kri0020e |
| TRUE | Analysis | kri0020f | Site | RMT | Repeat Measure (Temperature) | Windows of Consecutive Identical Temperature Values | Evaluable Temperature Windows | Identity | identity | Temperature Consecutive Repeat Rate | 0.2,0.3 | 3 | Denominator | TRUE | 0 | 0,1,2 | NA | NA | NA | temp | 3 | Numerator | Denominator | NA | NA | Analysis_kri0020f |
| TRUE | Analysis | srs0001 | Site | SRS | Site Risk Score | Weight | Maximum Weights | Identity | identity | Normalized Risk Score | NA | NA | NA | TRUE | 4 | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | Analysis_srs0001 |
| FALSE | Analysis | kri0007 | Site | TDSC | Treatment Discontinuation Rate | Subjects Discontinued - Treatment | Enrolled Subjects | Normal Approximation | binary | Adjusted Z-Score | 2,3 | 3 | Numerator | FALSE | 0 | 0,1,2 | NA | 0,16,32 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri0007 |
| FALSE | Analysis | kri0001 | Site | RET | Retired Metric | Adverse Events | Days on Study | Normal Approximation | rate | Adjusted Z-Score | -2,-1,2,3 | 30 | Denominator | TRUE | 0 | -2,-1,0,1,2 | NA | 32,16,0,1,2 | NA | NA | NA | NA | NA | NA | NA | Analysis_kri9999 |