View source: R/summariseCohortCodelist.R
| summariseCohortCodelist | R Documentation |
summariseCohortCodelist(cohort, cohortId = NULL)
cohort |
A cohort_table object. |
cohortId |
A cohort definition id to restrict by. If NULL, all cohorts will be included. |
A summarised_result object with the exported cohort codelist information.
library(CohortCharacteristics)
library(dplyr, warn.conflicts = FALSE)
library(omock)
library(CDMConnector)
cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")
cdm <- generateConceptCohortSet(cdm = cdm,
conceptSet = list(pharyngitis = 4112343L),
name = "my_cohort")
result <- summariseCohortCodelist(cdm$my_cohort)
glimpse(result)
tidy(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.