View source: R/CohortQueries.R
| getCohortSubsetAttrition | R Documentation |
Retrieves attrition information for specified cohort subsets from the database.
getCohortSubsetAttrition(
connectionHandler,
schema,
cgTablePrefix = "cg_",
databaseTable = "database_meta_data",
cohortIds = NULL
)
connectionHandler |
A connection handler object. |
schema |
The database schema name. |
cgTablePrefix |
Prefix for cohort generator tables. Default is 'cg_'. |
databaseTable |
Name of the database metadata table. Default is 'database_meta_data'. |
cohortIds |
Optional vector of cohort IDs to filter. |
A data.frame with attrition details for each cohort subset.
Other Cohorts:
getCohortAttrition(),
getCohortCounts(),
getCohortDefinitions(),
getCohortInclusionRules(),
getCohortInclusionStats(),
getCohortInclusionSummary(),
getCohortMeta(),
getCohortSubsetDefinitions(),
getSubsetText(),
processCohortDefinitionsForQuarto(),
processCohorts(),
restrictCohortDefinitionsForQuarto()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.