buildRelease: Create OMOP CDM SQL files

View source: R/buildRelease.R

buildReleaseR Documentation

Create OMOP CDM SQL files

Description

Writes DDL, ForeignKey, PrimaryKey and index SQL files for given cdmVersion and targetDialect to the 'ddl' folder in specified output folder.

Usage

buildRelease(
  cdmVersions = listSupportedVersions(),
  targetDialects = listSupportedDialects(),
  outputfolder = file.path(tempdir(), "inst", "ddl")
)

Arguments

cdmVersions

The versions of the CDM you are creating, e.g. 5.3, 5.4. Defaults to all supported CDM versions.

targetDialects

A character vector of target dialects. Defaults to all supported dialects.

outputfolder

The base folder where the SQL files will be written. Subfolders will be created for each cdmVersion and targetDialect.

Value

Writes DDL, ForeignKey, PrimaryKey and index SQL files for given cdmVersion and targetDialect to the 'ddl' folder in specified output folder.


CommonDataModel documentation built on Oct. 2, 2024, 1:08 a.m.