Connect to the gbif4crest_02 database by accessing the server on Amazon.

connect_online(
  dbname = "gbif4crest_02",
  port = 5432,
  host = "gbif4crest.cvqgy2mnjwtg.eu-west-3.rds.amazonaws.com",
  user = "guestuser",
  password = "pwd12345"
)

Arguments

dbname

The name of the database. Default is 'gbif4crest_02'.

port

The port to connect to the server. Default is 5432.

host

The host of the database server. Default is 'gbif4crest.cvqgy2mnjwtg.eu-west-3.rds.amazonaws.com'.

user

The user name to use to connect. Default is 'guestuser'.

password

The password associated with the user name. Default is 'pwd12345'.

Value

An active connection to a database

Examples

if (FALSE) {
  db <- connect_online()
}