db.get_db_connection: Get Database Connection

Description Usage Arguments Value

Description

A convenience function for connecting to the database using RPostgreeSQL

Usage

1
2
db.get_db_connection(user = "hockey", password = "analytic",
  dbname = "hockeystats", dbtype = "PostgreSQL")

Arguments

user

the username to connect to the database

password

the password to connect to the database

dbname

the database's name

dbtype

the database type. Only tested with PostgreSQL databases

Value

con = a database connection for use


pbulsink/hockeyR documentation built on May 15, 2019, 4:16 p.m.