Connects to the PLUMES database file. If local
is provided, it uses the specified file path,
otherwise it defaults to the internal database path and name.
The function ensures the database file exists before connecting.
init_con(local = NULL)
A DBI connection object.
if (FALSE) { # \dontrun{
# Connect to a local database
con <- init_con(local = "path/to/local/database.sqlite")
# Connect using default settings
con <- init_con()
} # }