ExtractCovariates: Extract covariates and save cohorts

Description Usage Arguments Details Examples

Description

Extract covariates and save cohorts

Usage

1
ExtractCovariates(connectionDetails, cdmDatabaseSchema, studyFolder)

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

studyFolder

Name of local folder to place results; make sure to use forward slashes(/)

cdmVersion

cdmVersion 4/5

disease

Name of disease want to analyze

cohortId

cohortId of interest disease generated by Atlas

Details

This function creates files specifying the analyses that will be performed.

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

jianxiaoyang/RareDiseases documentation built on May 4, 2019, 4:22 p.m.