| clear_cache_tracts | R Documentation |
clear_cache_tracts() removes census tract Parquet files stored in the
user cache directory by tracts_to_h3() and tracts_to_polygon().
clear_cache_tracts(uf = "all", verbose = TRUE, cache_dir = NULL, year = NULL)
uf |
|
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 all cached census tract Parquets
clear_cache_tracts()
# Delete only the Parquet for Bahia (several equivalent calls)
clear_cache_tracts("BA")
clear_cache_tracts(29)
clear_cache_tracts(2919207) # municipality code → state resolved automatically
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.