import From Loadable CSV
fun importFromLoadableCSV(exportedDbDir: Path, dbName: String, dbDirectory: Path = KSL.dbDir, deleteIfExists: Boolean = true): DuckDb
Facilitates the creation of a database backed by DuckDb. The database will be loaded based on the load scripts found in the exported database directory
Return
a DuckDb configured database
Parameters
exported Db Dir
the directory holding the import data and scripts
db Name
the name of the database
db Directory
the directory containing the database. By default, KSL.dbDir.
delete If Exists
If true, an existing database in the supplied directory with the same name will be deleted and an empty database will be constructed.