2021-08-19 19:43:34 +00:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/buildRelease.R
|
|
|
|
\name{buildRelease}
|
|
|
|
\alias{buildRelease}
|
|
|
|
\title{Create OMOP CDM SQL files}
|
|
|
|
\usage{
|
|
|
|
buildRelease(
|
2021-08-20 15:25:10 +00:00
|
|
|
cdmVersions = listSupportedVersions(),
|
|
|
|
targetDialects = listSupportedDialects(),
|
2024-02-06 20:13:45 +00:00
|
|
|
outputfolder = file.path(tempdir(), "inst", "ddl")
|
2021-08-19 19:43:34 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
\arguments{
|
2021-08-20 15:25:10 +00:00
|
|
|
\item{cdmVersions}{The versions of the CDM you are creating, e.g. 5.3, 5.4.
|
2021-08-19 19:43:34 +00:00
|
|
|
Defaults to all supported CDM versions.}
|
|
|
|
|
2021-08-20 15:25:10 +00:00
|
|
|
\item{targetDialects}{A character vector of target dialects.
|
|
|
|
Defaults to all supported dialects.}
|
|
|
|
|
|
|
|
\item{outputfolder}{The base folder where the SQL files will be written.
|
|
|
|
Subfolders will be created for each cdmVersion and targetDialect.}
|
2021-08-19 19:43:34 +00:00
|
|
|
}
|
2024-02-06 20:13:45 +00:00
|
|
|
\value{
|
|
|
|
Writes DDL, ForeignKey, PrimaryKey and index SQL files for given cdmVersion
|
|
|
|
and targetDialect to the 'ddl' folder in specifed output folder.
|
|
|
|
}
|
2021-08-19 19:43:34 +00:00
|
|
|
\description{
|
|
|
|
Writes DDL, ForeignKey, PrimaryKey and index SQL files for given cdmVersion
|
2024-02-06 20:13:45 +00:00
|
|
|
and targetDialect to the 'ddl' folder in specifed output folder.
|
2021-08-19 19:43:34 +00:00
|
|
|
}
|