Creates a new DuckDB database for the eyeris project or connects to an existing one.
The database will be created in the BIDS derivatives directory. When parallel processing
is enabled, creates temporary databases to avoid concurrency issues.
connect_eyeris_database(
bids_dir,
db_path = "my-project",
verbose = FALSE,
parallel = FALSE
)DBI database connection object or temp database info list (when parallel=TRUE)
Path to the BIDS directory containing derivatives
Database name (defaults to "my-project", becomes "my-project.eyerisdb")
Whether to print verbose output
Whether to enable parallel processing with temporary databases