#' Return a connection object to delta_neutral database
#'
#' Use this function to get a connection to the delta_neutral database
#' @export
db_connection <- function(){
db_conn <-
RMariaDB::dbConnect(
drv = RMariaDB::MariaDB()
,user = 'root'
, password = 'password'
, dbname = 'delta_neutral'
, host='localhost'
)
db_conn
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.