Helper function to export data to csv or parquet files from a database file (sqlite or duckdb).
exportDataFiles(
dbPath,
outputFolder,
outputFormat = "csv",
dbms = "sqlite",
verbose = FALSE
)
The path to the source .sqlite or .duckdb file
The path to the export destination directory
The output format for the files. Supported formats include csv, parquet.
The file-based database system to use: 'sqlite' (default) or 'duckdb'
Boolean argument controlling verbose debugging output
No return value, called to export to outputFolder.