Skip to contents

Create OMOP CDM tables

Usage

createOmopTablesOnSpark(
  con,
  schemaName,
  cdmVersion = "5.4",
  overwrite = FALSE,
  bigInt = FALSE,
  cdmPrefix = NULL
)

Arguments

con

Connection to a Spark database.

schemaName

Schema in which to create tables.

cdmVersion

Which version of the OMOP CDM to create. Can be "5.3" or "5.4".

overwrite

Whether to overwrite existing tables.

bigInt

Whether to use big integers for person identifier (person_id or subject_id)

cdmPrefix

Whether to cdmPrefix tables created (not generally recommended).

Value

OMOP CDM tables created in database