getCohortSummaryStatsFromDb: Get cohort summary status

Description Usage Arguments Details Value

View source: R/getOhdsiResults.R

Description

Get cohort summary status

Usage

1
2
3
4
5
6
7
8
getCohortSummaryStatsFromDb(
  connection,
  cohortTable = "cohort",
  dbms,
  resultsDatabaseSchema,
  cohortDefinitionId,
  modeId = 1
)

Arguments

connection

A connection to dbms as described in DatabaseConnector::connect

cohortTable

(optional) The table name where your phenotype is instantiated as a standard cohort table. Default value = 'cohort'

cohortDefinitionId

An integer identifying a cohort in the studies Atlas instance.

modeId

(Optional) An integer of 1 (by persons), 0 (by events). Default value = 1.

server

The type of DBMS running on the server. Valid values are - "oracle" for Oracle - "postgresql" for PostgreSQL - "redshift" for Amazon Redshift - "sql server" for Microsoft SQL Server - "pdw" for Microsoft Parallel Data Warehouse (PDW) - "netezza" for IBM Netezza - "bigquery" for Google BigQuery - "sqlite" for SQLite

resultDatabaseSchema

The databaseSchema with results. See databaseSchema argument.

Details

Get cohort summary status

Value

A tibble with two columns: table containing names of ohdsi results tables, category - categorizing the table by function


gowthamrao/StudyManagement documentation built on March 9, 2020, 10:48 p.m.