| cache | R Documentation |
wb_cache_dir() returns the path where cached API responses are stored.
wb_cache_delete() clears all cached responses.
wb_cache_dir()
wb_cache_delete()
The cache is only used when enabled with options(worldbank.cache = TRUE).
Cached responses are stored for 1 day by default, but this can be customized with
options(worldbank.cache_max_age = seconds).
## Not run:
# enable caching
options(worldbank.cache = TRUE)
# view cache location
wb_cache_dir()
# clear the cache
wb_cache_delete()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.