Skip to contents

Deletes all locally cached FRED data files. The next call to any data function will re-download from the FRED API.

Usage

clear_cache()

Value

Invisible NULL.

Examples

# \donttest{
op <- options(fred.cache_dir = tempdir())
clear_cache()
#> Cache cleared.
options(op)
# }