From af1effdedc300500555fe66e68b118b9f6f844bf Mon Sep 17 00:00:00 2001 From: Clair Blacketer Date: Fri, 21 Jan 2022 15:35:13 -0500 Subject: [PATCH] Added reference to the package --- extras/codeToRun.R | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/extras/codeToRun.R b/extras/codeToRun.R index 617ab73..39862e5 100644 --- a/extras/codeToRun.R +++ b/extras/codeToRun.R @@ -4,30 +4,30 @@ # Results are written to inst/ddl/cdm_version/dialect. cdmVersion <- "5.4" -supportedVersions <- listSupportedVersions() +supportedVersions <- CommonDataModel::listSupportedVersions() for (cdmVersion in supportedVersions) { for (targetDialect in c("oracle", "postgresql", "pdw", "redshift", "impala", "netezza", "bigquery", "sql server", "spark")) { - writeDdl(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writeDdl(targetDialect = targetDialect, + cdmVersion = cdmVersion) - writePrimaryKeys(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writePrimaryKeys(targetDialect = targetDialect, + cdmVersion = cdmVersion) - writeForeignKeys(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writeForeignKeys(targetDialect = targetDialect, + cdmVersion = cdmVersion) - writeIndex(targetDialect = targetDialect, - cdmVersion = cdmVersion) + CommonDataModel::writeIndex(targetDialect = targetDialect, + cdmVersion = cdmVersion) } } -CommonDataModel::buildRelease("5.4") +CommonDataModel::buildRelease("5.3") ############# # Zipping release # All dialects -buildReleaseZip(cdmVersion="5.4", outputfolder="output") +CommonDataModel::buildReleaseZip(cdmVersion="5.3", outputfolder="output") buildReleaseZip()