| sn_disconnect_from_db | R Documentation |
Ensure that connection to cache is disconnected consistently
sn_disconnect_from_db(
cache = NULL,
db_connection = NULL,
disconnect_db = TRUE,
country = NULL
)
cache |
Defaults to NULL. If given, it should be given either TRUE or FALSE. Typically set with 'tw_enable_cache()' or 'tw_disable_cache()'. |
db_connection |
Defaults to NULL. If NULL, and caching is enabled, 'tidywikidatar' will use a local sqlite database. A custom connection to other databases can be given (see vignette 'caching' for details). |
disconnect_db |
Defaults to TRUE. If FALSE, leaves the connection to cache open. |
Nothing, used for its side effects.
sn_disconnect_from_db()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.