Learn R Programming

restatapi (version 0.6.0)

clean_restatapi_cache: Clean restatapi cache

Description

Remove all objects from the .restatapi_env except the configuration file, API version number, download method and the country codes. In addition, it deletes all the .rds files from the default and selected cache directory. See get_eurostat_data for more on cache.

Usage

clean_restatapi_cache(cache_dir = NULL, verbose = FALSE)

Arguments

cache_dir

A path to cache directory. If NULL (default) tries to clean default temporary cache directory. Directory can also be set with options(restatapi_cache_dir=...).

verbose

A boolean with default FALSE, so detailed messages (for debugging) will not printed. Can be set also with options(restatapi_verbose=TRUE)

Examples

Run this code
# NOT RUN {
clean_restatapi_cache(verbose=TRUE) 

# }

Run the code above in your browser using DataLab