Load data from csv or parquet files into a database file (sqlite or duckdb).
loadDataFiles(
dataPath,
dbPath,
inputFormat = "csv",
cdmVersion = "5.3",
cdmDatabaseSchema = "main",
dbms = "sqlite",
verbose = FALSE,
overwrite = FALSE
)
The path to the directory containing CDM source files (csv or parquet)
The path to the .sqlite or .duckdb file that will be created
The input format of the files to load. Supported formats include csv, parquet.
The CDM version to create in the resulting database. Supported versions are 5.3 and 5.4
The schema in which to create the CDM tables. Default is main.
The file-based database system to use: 'sqlite' (default) or 'duckdb'
Provide additional logging details during execution.
Remove and replace an existing data set.
No return value, loads data into database file.