tw_disconnect_from_cache {tidywikidatar} | R Documentation |
Ensure that connection to cache is disconnected consistently
Description
Ensure that connection to cache is disconnected consistently
Usage
tw_disconnect_from_cache(
cache = NULL,
cache_connection = NULL,
disconnect_db = TRUE,
language = tidywikidatar::tw_get_language()
)
Arguments
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 |
Value
Nothing, used for its side effects.
Examples
if (interactive()) {
tw_get(
id = c("Q180099"),
language = "en"
)
tw_disconnect_from_cache()
}
[Package tidywikidatar version 0.5.9 Index]