Learn R Programming

rapbase (version 1.24.2)

rapOpenDbConnection: Provide connection handle for data source at Rapporteket

Description

Generic to registries, handle the data source connections, including usernames and passwords needed to open these connections

Usage

rapOpenDbConnection(registryName, dbType = "mysql")

Value

A named list of con and drv representing the db connection handle and driver, respectively.

Arguments

registryName

String id used for the registry in global configuration file from which information on the database connection is provided

dbType

String providing type of data source, one of "mysql" and "mssql". Defaults to "mysql"