This package allows you to save DBI database parameters in a 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)