View source: R/tableRecordCount.R
| tableRecordCount | R Documentation |
tableRecordCount(result, type = "gt")
result |
A summarised_result object (output of |
type |
Type of formatting output table. See
|
A formatted table visualisation.
library(OmopSketch)
library(omock)
cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")
summarisedResult <- summariseRecordCount(
cdm = cdm,
omopTableName = c("condition_occurrence", "drug_exposure"),
interval = "years",
ageGroup = list("<=20" = c(0, 20), ">20" = c(21, Inf)),
sex = TRUE
)
tableRecordCount(result = summarisedResult)
cdmDisconnect(cdm = cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.