tw_disconnect_from_cache | R Documentation |
Ensure that connection to cache is disconnected consistently
tw_disconnect_from_cache(
cache = NULL,
cache_connection = NULL,
disconnect_db = TRUE,
language = tidywikidatar::tw_get_language()
)
cache |
Defaults to NULL. If given, it should be given either TRUE or FALSE. Typically set with |
cache_connection |
Defaults to NULL. If NULL, and caching is enabled, |
disconnect_db |
Defaults to TRUE. If FALSE, leaves the connection to cache open. |
language |
Defaults to language set with |
Nothing, used for its side effects.
if (interactive()) {
tw_get(
id = c("Q180099"),
language = "en"
)
tw_disconnect_from_cache()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.