This function populates all Vocabulary tables with data in csv files.

LoadVocabFromCsv(connectionDetails, cdmSchema, vocabFileLoc, bulkLoad = FALSE)

Arguments

connectionDetails

An R object of type
connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

cdmSchema

The name of the database schema that will contain the Vocabulary (and CDM) tables. Requires read and write permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'cdm_instance.dbo'.

vocabFileLoc

The location of the vocabulary csv files.

bulkLoad

Boolean flag indicating whether or not to use bulk loading (if possible). Default is FALSE.

Details

This function assumes
createCDMTables() has already been run.