loadDataFiles | R Documentation |
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
)
dataPath |
The path to the directory containing CDM source files (csv or parquet) |
dbPath |
The path to the .sqlite or .duckdb file that will be created |
inputFormat |
The input format of the files to load. Supported formats include csv, parquet. |
cdmVersion |
The CDM version to create in the resulting database. Supported versions are 5.3 and 5.4 |
cdmDatabaseSchema |
The schema in which to create the CDM tables. Default is main. |
dbms |
The file-based database system to use: 'sqlite' (default) or 'duckdb' |
verbose |
Provide additional logging details during execution. |
overwrite |
Remove and replace an existing data set. |
No return value, loads data into database file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.