| clear_cache_muni | R Documentation |
clear_cache_muni() removes CNEFE data files stored in the user cache
directory by cnefe_counts(), compute_lumi(), tracts_to_h3(), and
related functions.
The cache holds gzipped CSVs (.csv.gz). Archives left by versions before
0.3.0, which cached the ZIP as published by IBGE, are removed as well.
clear_cache_muni(
code_muni = "all",
verbose = TRUE,
cache_dir = NULL,
year = NULL
)
code_muni |
Integer or |
verbose |
Logical; if |
cache_dir |
Character. Directory to use for cached downloads. If |
year |
Integer. Restrict the deletion to one CNEFE edition. |
Invisibly, the character vector of deleted file paths.
# Delete every cached CNEFE file
clear_cache_muni()
# Delete only the file for Lauro de Freitas-BA
clear_cache_muni(2919207)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.