This function returns a db connection to a pre-configured data source containing aquamaps data

con_am(source_type = c("sqlite", "duckdb", "mysql", "extdata"))

Arguments

source_type

one of "sqlite", "duckdb", "mysql" or "extdata", with "sqlite" being default

Value

database connection

See also

Examples

if (FALSE) { library(DBI) con <- con_am("sqlite") dbDisconnect(con) }