runSelfControlledCaseSeries: Execute the Self-Controlled Case Series analyses

Description Usage Arguments

View source: R/SelfControlledCaseSeries.R

Description

Execute the Self-Controlled Case Series analyses

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
runSelfControlledCaseSeries(
  connectionDetails,
  cdmDatabaseSchema,
  oracleTempSchema = NULL,
  outcomeDatabaseSchema = cdmDatabaseSchema,
  outcomeTable = "cohort",
  exposureDatabaseSchema = cdmDatabaseSchema,
  exposureTable = "drug_era",
  outputFolder,
  maxCores
)

Arguments

connectionDetails

An object of type connectionDetails as created using the createConnectionDetails function in the DatabaseConnector package.

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'.

oracleTempSchema

Should be used in Oracle to specify a schema where the user has write priviliges for storing temporary tables.

outcomeDatabaseSchema

Schema name where the outcome cohorts are stored. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'.

outcomeTable

The name of the table in the outcome database schema that holds the outcome cohorts,

exposureDatabaseSchema

Schema name where the exposure cohorts are stored. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'.

exposureTable

The name of the table in the exposure database schema that holds the exposure cohorts,

outputFolder

Name of local folder to place results; make sure to use forward slashes (/). Do not use a folder on a network drive since this greatly impacts performance.

maxCores

How many parallel cores should be used? If more cores are made available this can speed up the analyses.


ohdsi-studies/Covid19DrugRepurposing documentation built on April 6, 2020, 6:24 p.m.