knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.