Description Usage Arguments Details
Create the exposure and outcome cohorts
1 2 | buildCohort(connectionDetails, cdmDatabaseSchema, resultsDatabaseSchema,
treatment, comparator, outComeId)
|
connectionDetails |
An object of type |
cdmDatabaseSchema |
Schema name where your patient-level data in OMOP CDM format resides. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'. |
resultsDatabaseSchema |
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_data.dbo'. |
treatment |
The name of the of treatment cohort that you want to creat, for example treatment = c("BigToBig.sql) will creat treatment cohort of patients who start with Biguanide and remain on it. |
comparator |
The name of the comparator cohort that you want to create, for example comparator = c("SulfToSulf.sql) will create comparator cohort with respect to treatment cohort above. |
outComeId |
The outcome Id of interest. |
This function will create treatment, comparator and outcomes cohort as included in this package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.