View source: R/createSettings.R
createDataSettings | R Documentation |
Create data settings.
createDataSettings(
OMOP_CDM = "TRUE",
connectionDetails = NULL,
cdmDatabaseSchema = NULL,
cohortDatabaseSchema = NULL,
cohortTable = "treatmentpatterns_cohorts",
cohortLocation = NULL
)
connectionDetails |
Only for OMOP-CDM TRUE: An object of type connectionDetails as created using the createConnectionDetails function in the DatabaseConnector package. |
cdmDatabaseSchema |
Only for OMOP-CDM TRUE: Schema name where your patient-level data resides. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'. |
cohortDatabaseSchema |
Only for OMOP-CDM TRUE: Schema name where intermediate data can be stored. You will need to have write priviliges in this schema. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_results.dbo'. |
cohortTable |
Only for OMOP-CDM TRUE: The name of the table that will be created in the cohortDatabaseSchema. This table will hold the target and event cohorts used in this study. |
cohortLocation |
Only for OMOP-CDM FALSE: Location from where cohorts can be loaded. |
OMOP-CDM |
Format of database 'Observational Medical Outcomes Partnership Common Data Model' = TRUE or 'Other' = FALSE. |
Object dataSettings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.