summariseTimeBetween: Check time in between drug records per person and report the...

View source: R/checkTimeBetween.R

summariseTimeBetweenR Documentation

Check time in between drug records per person and report the summary

Description

Check time in between drug records per person and report the summary

Usage

summariseTimeBetween(
  cdm,
  drugRecordsTable = "ingredient_drug_records",
  byConcept = TRUE,
  sampleSize = 10000
)

Arguments

cdm

CDMConnector reference object

drugRecordsTable

a modified version of the drug exposure table, default "ingredient_drug_records"

byConcept

whether to get result by drug concept

sampleSize

the sample size given in execute checks

Value

a table with the stats about the time between


DrugExposureDiagnostics documentation built on Sept. 16, 2025, 9:11 a.m.