OMOP/man/createFkFromFile.Rd

23 lines
1.1 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createFkFromFile.R
\name{createFkFromFile}
\alias{createFkFromFile}
\title{Create a foreign key sql script from two csv files that detail the OMOP CDM Specifications.}
\usage{
createFkFromFile(cdmVersionNum = cdmVersion,
cdmFieldCsvLoc = "inst/csv/OMOP_CDMv5.3.1_Field_Level.csv",
outputFile = paste0("inst/sql/sql_server/OMOP CDM fk ", cdmVersion,
" ", Sys.Date(), ".sql"))
}
\arguments{
\item{cdmVersionNum}{The version of the CDM you are creating}
\item{cdmFieldCsvLoc}{The location of the csv file with the CDM field information. This is defaulted to "inst/csv/OMOP_CDMv5.3.1_Field_Level.csv".
If a new version of this file was committed to the CDM repository the package automatically will grab it and place it in "inst/csv/".}
\item{outputFile}{The name of the output foreign key file. This is defaulted to a location in the inst/sql/sql server folder and named with today's date and CDM version.}
}
\description{
Create a foreign key sql script from two csv files that detail the OMOP CDM Specifications.
}