View source: R/datasus_catalog.R
| datasus_cache_dir | R Documentation |
Returns the active cache directory path. Checks, in order: the cache_dir
argument, the DATASUSR_CACHE_DIR environment variable, the
datasusr.cache_dir option, and finally a session-scoped subdirectory of
tempdir(). To opt in to a persistent cache across sessions, set the
DATASUSR_CACHE_DIR environment variable, the datasusr.cache_dir option,
or pass cache_dir explicitly (for example,
tools::R_user_dir("datasusr", "cache")).
datasus_cache_dir(cache_dir = NULL)
cache_dir |
Optional cache directory supplied by the caller. |
A single path string.
datasus_cache_dir()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.