connect: Connection

Description Usage Arguments Value

View source: R/connect.R

Description

This is an example function that connects to a local Docker instance of the GWAS database.

Usage

1
2
3
connect(drv = RPostgres::Postgres(), dbname = "pgwasdb_3011261_qa",
  host = "10.5.1.102", port = 5432, user = "pgwasdb_qa_owner",
  password = "password")

Arguments

drv

DBI driver

dbname

String name of the database (default: gwasdb)

host

Host of database (default: localhost)

port

Number (default: 5434)

user

String (default: postgres)

password

String (default: password)

Value

A connection object


tparkerd/deathly-parsley documentation built on Nov. 5, 2019, 10:56 a.m.