View source: R/CohortLevelDiagnostics.R
getCohortCounts | R Documentation |
Computes the subject and entry count per cohort
getCohortCounts(
connectionDetails = NULL,
connection = NULL,
cohortDatabaseSchema,
cohortTable = "cohort",
cohortIds = c()
)
connectionDetails |
An object of type |
connection |
An object of type |
cohortDatabaseSchema |
Schema name where your cohort table resides. Note that for SQL Server, this should include both the database and schema name, for example 'scratch.dbo'. |
cohortTable |
Name of the cohort table. |
cohortIds |
The cohort Id(s) used to reference the cohort in the cohort table. If left empty, all cohorts in the table will be included. |
A tibble with cohort counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.