Learn R Programming

crestr (version 1.2.1)

connect_online: Connect to the gbif4crest calibration database

Description

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

Usage

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

Value

An active connection to a database

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'.

Examples

Run this code
if (FALSE) {
  db <- connect_online()
}

Run the code above in your browser using DataLab