Set Up

This page provides a sample Country 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.
Setup
# Load libraries
library(gsm.core)
library(gsm.kri)
library(here)
## here() starts at /home/runner/work/gsm.kri/gsm.kri
## 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_country %>%
  dplyr::filter(MetricID == "Analysis_cou0001") %>%
  dplyr::mutate(
    MetricID = "Analysis_cou9999",
    Metric = "Retired Metric",
    Abbreviation = "RET",
    Active = FALSE
  ) %>%
  dplyr::bind_rows(gsm.core::reportingMetrics_country, .)
dfResults <- gsm.core::reportingResults_country %>%
  dplyr::filter(
    MetricID == "Analysis_cou0001",
    SnapshotDate < max(SnapshotDate)
  ) %>%
  dplyr::mutate(MetricID = "Analysis_cou9999") %>%
  dplyr::bind_rows(gsm.core::reportingResults_country, .)

## Country Report
lCharts_country <- gsm.kri::MakeCharts(
  dfResults = dfResults,
  dfGroups = gsm.core::reportingGroups_country,
  dfMetrics = dfMetrics,
  dfBounds = gsm.core::reportingBounds_country
)
## 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.
## 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.

Report

Study Status

Nickname OAK-99
Status Active
Site Activation 141 / 150 (94%)
Participant Enrollment 754 / 1000 (75.4%)

Study Overview

7 Red KRIs
3 Amber KRIs

Summary Charts

Country Overview

As of 2025-04-01, AA-AA-000-0000 has 754 participants enrolled across 3 countries. 10 Country-KRI combinations have been flagged across 3 countries as shown in the Study Overview Table above.
  • 3 countries have at least one red KRI
  • 3 countries have at least one red or amber KRI
  • 0 countries have neither red nor amber KRIs

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

Results

Adverse Event Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table
Group Enrolled Numerator Denominator Metric Score Flag
UK 189 536 7019 0.08 -1.49
Time Series


Serious Adverse Event Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Non-Important Protocol Deviation Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Important Protocol Deviation Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Grade 3+ Lab Abnormality Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Study Discontinuation Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Premature Treatment Discontinuation Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Query Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Delayed Query Resolution Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Delayed Data Entry Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Data Change Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Screen Failure Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


PK Collection Compliance Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Ineligibility

Summary Charts

Scatter Plot
Bar Chart
Metric Table
Group Enrolled Numerator Denominator Metric Score Flag
US 329 133 329 0.40 133
Japan 236 86 236 0.36 86
UK 189 79 189 0.42 79
Time Series


Premature Death Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table
Group Enrolled Numerator Denominator Metric Score Flag
US 329 7 329 0.02 7
Japan 236 1 236 0.00 1
UK 189 1 189 0.01 1
Time Series


IP Non-Starter Rate

Summary Charts

Scatter Plot
Bar Chart
Metric Table
Group Enrolled Numerator Denominator Metric Score Flag
US 329 25 329 0.08 25
Japan 236 16 236 0.07 16
UK 189 16 189 0.08 16
Time Series


Repeat Measure (Weight)

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Repeat Measure (Heart Rate)

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Repeat Measure (Systolic BP)

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Repeat Measure (Diastolic BP)

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Repeat Measure (Respiratory Rate)

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Repeat Measure (Temperature)

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Treatment Discontinuation Rate Inactive

Summary Charts

Scatter Plot
Bar Chart
Metric Table

Nothing flagged for this KRI.

Time Series


Retired Metric Inactive

Summary Charts

Time Series


Metric Details

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 cou0001 Country AE Adverse Event Rate Adverse Events Days on Study Normal Approximation rate Adjusted Z-Score -2,-1,2,3 30 Denominator TRUE 0 NA NA NA NA NA NA NA NA NA NA Analysis_cou0001
TRUE Analysis cou0002 Country 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 NA NA NA NA NA NA NA NA NA NA Analysis_cou0002
TRUE Analysis cou0003 Country 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 NA NA NA NA NA NA NA NA NA NA Analysis_cou0003
TRUE Analysis cou0004 Country 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 NA NA NA NA NA NA NA NA NA NA Analysis_cou0004
TRUE Analysis cou0005 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0005
TRUE Analysis cou0006 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0006
TRUE Analysis cou0007-2 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0007-2
TRUE Analysis cou0008 Country QRY Query Rate Queries Total Data Points Normal Approximation rate Adjusted Z-Score 2,3 30 Numerator TRUE 0 0,1,2 NA NA NA NA NA NA NA NA NA Analysis_cou0008
TRUE Analysis cou0009 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0009
TRUE Analysis cou0010 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0010
TRUE Analysis cou0011 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0011
TRUE Analysis cou0012 Country SF Screen Failure Rate Screen Failures Screened Subjects Normal Approximation binary Adjusted Z-Score -3,-2,2,3 3 Denominator TRUE 0 NA NA NA NA NA NA NA NA NA NA Analysis_cou0012
TRUE Analysis cou0013 Country 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_cou0013
TRUE Analysis cou0014 Country 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_cou0014
TRUE Analysis cou0015 Country 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_cou0015
TRUE Analysis cou0019 Country IPNS IP Non-Starter Rate IP Non-Starters (Confirmed or Potential outside window) Enrolled Subjects Identity identity Numerator 1,2 1 Denominator FALSE 0 0,1,2 NA NA NA NA NA NA NA NA NA Analysis_cou0019
TRUE Analysis cou0020a Country 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 FALSE 0 0,1,2 NA NA NA weight 3 Numerator Denominator NA NA Analysis_cou0020a
TRUE Analysis cou0020b Country 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 FALSE 0 0,1,2 NA NA NA pulse 3 Numerator Denominator NA NA Analysis_cou0020b
TRUE Analysis cou0020c Country 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 FALSE 0 0,1,2 NA NA NA sysbp 3 Numerator Denominator NA NA Analysis_cou0020c
TRUE Analysis cou0020d Country 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 FALSE 0 0,1,2 NA NA NA diabp 3 Numerator Denominator NA NA Analysis_cou0020d
TRUE Analysis cou0020e Country 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 FALSE 0 0,1,2 NA NA NA resp 3 Numerator Denominator NA NA Analysis_cou0020e
TRUE Analysis cou0020f Country 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 FALSE 0 0,1,2 NA NA NA temp 3 Numerator Denominator NA NA Analysis_cou0020f
FALSE Analysis cou0007 Country 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 NA NA NA NA NA NA NA NA Analysis_cou0007
FALSE Analysis cou0001 Country RET Retired Metric Adverse Events Days on Study Normal Approximation rate Adjusted Z-Score -2,-1,2,3 30 Denominator TRUE 0 NA NA NA NA NA NA NA NA NA NA Analysis_cou9999