connect_to_db: Create connection to Silo warehouse and return object to...

Description Usage Arguments Value

View source: R/silo_connect.R

Description

This makes a connection to Silo via 'RSQLServer'. This call requires that system environment variable for Silo are set (typically with a an '.Renviron' file in the users home directory that is sourced when R is started). This function is called for it's side effect: createing a connection object for the named database that can be used by 'dplyr' calls in other functions in this package.

Usage

1
connect_to_db(db_name)

Arguments

db_name

database name which will be connected to.

Value

a connection object


kippchicago/silounloadr documentation built on Sept. 14, 2020, 6:58 p.m.