Learn R Programming

repana (version 2.2.1)

get_con: Get a DBI connection reading a configuration file

Description

This function get a DBI connection to a database reading the parameters from a config.yml file using the get function. See the vignette for details.

Usage

get_con(configname = "defaultdb", file = "config.yml")

Value

a DBI connection

Arguments

configname

a string with the name of the configuration

file

name of the configuration to read from.

Author

John J. Aponte