cohortCharacterization: This function will perform baseline characterization for the...

View source: R/Characterization.R

cohortCharacterizationR Documentation

This function will perform baseline characterization for the the target cohorts.

Description

This function will perform baseline characterization for the the target cohorts.

Usage

cohortCharacterization(
  connection,
  connectionDetails,
  cdmDatabaseSchema,
  cohortDatabaseSchema,
  cohortTable,
  outputFolder,
  databaseId,
  targetCohortIds,
  minCellCount
)

Arguments

connection

Connection to database server.

connectionDetails

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

cdmDatabaseSchema

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

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

cohortTable

The name of the table that will be created in the work database schema. This table will hold the target and event cohorts used in this study.

outputFolder

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

databaseId

Unique identifier for database (can be the same as databaseName).

targetCohortIds

IDs to refer to target cohorts.

minCellCount

Minimum number of persons with a specific treatment pathway for the pathway to be included in analysis.


mi-erasmusmc/AsthmaCOPDTreatmentPatterns documentation built on Feb. 25, 2024, 2:34 p.m.