Learn R Programming

oxcovid19 (version 0.1.2)

connect_oxcovid19: Initiate a connection to the OxCOVID19 PostgreSQL database

Description

Initiate a connection to the OxCOVID19 PostgreSQL database

Usage

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

Examples

Run this code
# NOT RUN {
connect_oxcovid19()

# }

Run the code above in your browser using DataLab