#' Title
#'
#' @return
#' @export
#'
#' @examples
wind_sql_connect <- function() {
# under configuration files odbc.ini & odbc.yaml
conn <- DBI::dbConnect(odbc::odbc(),
DSN = "TDS",
UID = yaml::yaml.load_file("/etc/odbc.yaml")$TDS$UID,
PWD = yaml::yaml.load_file("/etc/odbc.yaml")$TDS$PWD
)
return(conn)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.