View source: R/tableLargeScaleCharacteristics.R
| tableLargeScaleCharacteristics | R Documentation | 
tableLargeScaleCharacteristics(
  result,
  topConcepts = NULL,
  type = "gt",
  header = c("cdm_name", "cohort_name", strataColumns(result), "variable_level"),
  groupColumn = c("table_name", "type", "analysis"),
  hide = character()
)
| result | A summarised_result object. | 
| topConcepts | Number of concepts to restrict the table. | 
| type | Type of table. Check supported types with
 | 
| header | Columns to use as header. See options with
 | 
| groupColumn | Columns to group by. See options with
 | 
| hide | Columns to hide from the visualisation. See options with
 | 
A formatted table.
## Not run: 
library(duckdb)
library(CDMConnector)
con <- dbConnect(duckdb(), eunomiaDir())
cdm <- cdmFromCon(con = con, cdmSchema = "main", writeSchema = "main")
cdm <- generateConceptCohortSet(
  cdm = cdm,
  conceptSet = list("viral_pharyngitis" = 4112343),
  name = "my_cohort"
)
result <- summariseLargeScaleCharacteristics(
  cohort = cdm$my_cohort,
  eventInWindow = "condition_occurrence",
  episodeInWindow = "drug_exposure"
)
tableLargeScaleCharacteristics(result)
cdmDisconnect(cdm)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.