View source: R/close_connection.R
| close_connection | R Documentation | 
Internal function to close the database connection. The function is just a wrapper around 'RPostgres::dbDisconnect'
close_connection(conn)
| conn | A DBI database connection. | 
The function is just a wrapper around RPostgres::dbDisconnect / DBI::dbDisconnect and does not return any value.
## Not run: 
db_con <- DIZutils::db_connection(
  db_name = "i2b2",
  db_type = "postgres"
)
DIZutils::close_connection(
  conn = db_con
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.