Initiate a connection to the OxCOVID19 PostgreSQL database

connect_oxcovid19(
  dbname = "covid19",
  host = "covid19db.org",
  port = 5432,
  user = "covid19",
  password = "covid19"
)

Arguments

dbname

Name of database. Default is "covid19". Unless OxCOVID19 Project changes database details, this should be kept as default.

host

Name of database host. Default is "covid19db.org". Unless OxCOVID19 Project changes database details, this should be kept as default.

port

Port specifications. Default is 5432. Unless OxCOVID19 Project changes database details, this should be kept as default.

user

User specifications. Default is "covid19". Unless OxCOVID19 Project changes database details, this should be kept as default.

password

Password specifications. Default is "covid19". Unless OxCOVID19 Project changes database details, this should be kept as default.

Value

A PostgreSQL connection to OxCOVID19 database

Author

Ernest Guevarra

Examples

connect_oxcovid19()
#> <PqConnection> covid19@covid19db.org:5432