| mn_cache_dir | R Documentation |
Full-resolution boundaries and the larger thematic layers are downloaded the first time you use them and kept in a cache folder, so later calls work offline.
mn_cache_dir()
mn_cache_list()
mn_cache_clear(layers = NULL, old_versions = FALSE)
mn_download(layers = "all")
layers |
Layer ids or groups (see |
old_versions |
If |
mn_cache_dir() returns the cache folder. Change it with
options(mongolmaps.cache_dir = "path").
mn_cache_list() lists what is cached.
mn_cache_clear() deletes cached files.
mn_download() downloads layers now, for example before fieldwork
without internet. See mn_sources() for the layer ids.
mn_cache_dir(): a path. mn_cache_list(): a tibble with one
row per cached file. mn_cache_clear() and mn_download(): the
affected paths, invisibly.
Other data sources and cache:
mn_sources()
mn_cache_dir()
mn_cache_list()
mn_download("admin_high")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.