connect_to_db.Rd
Establish a {DBI} database connection to the PostgreSQL database, using environment variables for the connection information
{DBI}
connect_to_db(env)
Character. Indicates the database to connect to. Valid options include "prod" and "dev":
"prod"
"dev"
"prod" connects to the database in production
"dev" connects to an internal database that is set up using dev containers
A DBI database connection
if (FALSE) { # \dontrun{ con <- connect_to_db(env = "prod") } # }