deleteCohort {CohortAlgebra} | R Documentation |
Delete cohort
Description
Delete all records for a given set of cohorts from the cohort table. Edit privileges to the cohort table is required.
Usage
deleteCohort(
connectionDetails = NULL,
connection = NULL,
cohortDatabaseSchema,
cohortTable = "cohort",
tempEmulationSchema = getOption("sqlRenderTempEmulationSchema"),
cohortIds
)
Arguments
connectionDetails |
An object of type |
connection |
An object of type |
cohortDatabaseSchema |
Schema name where your cohort tables reside. Note that for SQL Server, this should include both the database and schema name, for example 'scratch.dbo'. |
cohortTable |
The name of the cohort table. |
tempEmulationSchema |
Some database platforms like Oracle and Impala do not truly support temp tables. To emulate temp tables, provide a schema with write privileges where temp tables can be created. |
cohortIds |
A vector of one or more Cohort Ids. |
Value
Nothing is returned