Export vocabulary tables from a database to CSV files
duckdbToOMOPVocabularyCSVs.Rd
Export vocabulary tables from a database to CSV files
Usage
duckdbToOMOPVocabularyCSVs(
connection,
vocabularyDatabaseSchema,
OMOPVocabularyTableNames,
pathToOMOPVocabularyCSVsFolder
)
Arguments
- connection
DatabaseConnector connection object to the database containing vocabulary tables
- vocabularyDatabaseSchema
Schema name where vocabulary tables are located
- OMOPVocabularyTableNames
Vector of vocabulary table names to export. If NULL, exports standard set.
- pathToOMOPVocabularyCSVsFolder
Directory path where CSV files will be written