R/database.R
create_mock_database.RdCreate a local database on disk using
duckdb() and load it with synthetic data ready for analysis.
create_mock_database(file, timezone = Sys.timezone(), silent = FALSE)A file path to an existing or new database file with a ".duckdb" extension.
A string for the time zone in which to return data to
R from the database. By default, it is set to Sys.timezone().
if TRUE, the progress bar will be hidden. The default is
FALSE.
An object of class duckdb_connection.
This function creates a database on disk at the desired path. The database and its content will persist after it is disconnected.