View source: R/bfs_clear_cache.R
| bfs_clear_cache | R Documentation |
Delete the base maps cached by bfs_get_base_maps() in
tools::R_user_dir(package = "BFS") and the list of Swiss Stats Explorer
datasets cached for the R session by bfs_get_sse_data() and
bfs_get_sse_metadata(). The cached data is downloaded again when needed.
In a long-running R session, e.g. a Shiny app, call it so that these two
functions use the new version of a dataset.
bfs_sse_datasets(), bfs_sse_dimensions() and bfs_sse_data() don't
cache anything.
bfs_clear_cache()
Invisibly, the path of the deleted cache folder.
bfs_clear_cache()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.