#' Close a connection to Snowflake (CDW)
#'
#'
#' @param conn A DBIConnection object, as returned by ccdm::connect_cdw() or DBI::dbConnect()
#'
#' @importFrom odbc odbc
#'
#' @export
#'
#' @examples
#'
#' \dontrun{
#' conn <- connect_cdw()
#'
#' ccdm_tbl(conn)
#'
#' ccdm_tbl(conn, "HOSPITAL_ENCOUNTERS")
#'
#' disconnect_cdw(conn)
#'
#' }
disconnect_cdw<- function(conn = conn) {
DBI::dbDisconnect(conn)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.