getDBConnect: R Function für generating a custom colorpallette of length x

View source: R/dbhelper.R

getDBConnectR Documentation

R Function für generating a custom colorpallette of length x

Description

R Function für generating a custom colorpallette of length x

Usage

getDBConnect(
  dbase = "ucchscience",
  dbuser = NULL,
  dbpwd = NULL,
  useconfig = T,
  configfile = NULL
)

Arguments

dbase

:character vector - Name of ODBC-Connection as specified in odbc.ini

dbuser

:character vector - Username for database

dbpwd

:character vector - DB Password

useconfig

:Boolean - If True the functions tries to read username and password from a config YAML File (default: "/etc/odbc_security.yml")

configfile

:character vector - Path to config-YAML file with stored credentials

Value

an odbc database connection

Author(s)

Stefan Bartels, email@biobits.eu

Examples

con<-getDBConnect(dbase= "mydatabase")

con <-getDBConnect("mydatabase",dbuser="User",dbpwd="password",useconfig=F)




biobits/bbhelper documentation built on Feb. 11, 2025, 4:53 p.m.