Cache data locally for later usage.
pl_cache(force = FALSE, ...)pl_cache_clear(which = NULL, prompt = TRUE)
(logical) Force update of the cache. Default: FALSE
Curl options, see curl::curl_options()
(character) One of locations, names, or places.
(logical) Prompt before clearing all files in cache?
No prompt used when DOIs passed in. Default: TRUE
data are cached in rappdirs::user_cache_dir("pleiades")
# NOT RUN {
pl_cache()
# pl_cache(force = TRUE)
# clear all files
# pl_cache_clear()
# clear a single file
# pl_cache_clear(which = "locations")
# pl_cache_clear(which = "places")
# pl_cache_clear(which = "names")
# }
Run the code above in your browser using DataLab