View source: R/CohortQueries.R
| getCohortAttrition | R Documentation |
Retrieves attrition information for specified cohorts from the database.
getCohortAttrition(
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.
Other Cohorts:
getCohortCounts(),
getCohortDefinitions(),
getCohortInclusionRules(),
getCohortInclusionStats(),
getCohortInclusionSummary(),
getCohortMeta(),
getCohortSubsetAttrition(),
getCohortSubsetDefinitions(),
getSubsetText(),
processCohortDefinitionsForQuarto(),
processCohorts(),
restrictCohortDefinitionsForQuarto()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.