Skip to content

DBI Configuration

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

shunsambongi/r-dbiconf

Repository files navigation

dbiconf

Lifecycle: experimental

This package allows you to save DBI database parameters in a configuration file.

Example configuration file

Configuration is written in TOML:

# example.toml

[database.my_database]
_driver = "odbc::odbc"
server = "my.database.com"
database = "MyDatabase"
uid = "bob_loblaw"
pwd = "password123"

How to use it:

db <- read_databases("example.toml")
conn <- dbConnect(db$my_database)