createCohortTables | R Documentation |
This function creates an empty cohort table and empty tables for cohort statistics.
createCohortTables(
connectionDetails = NULL,
connection = NULL,
cohortDatabaseSchema,
cohortTableNames = getCohortTableNames(),
incremental = FALSE
)
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'. |
cohortTableNames |
The names of the cohort tables. See |
incremental |
When set to TRUE, this function will check to see if the cohortTableNames exists in the cohortDatabaseSchema and if they exist, it will skip creating the tables. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.