Skip to contents

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

Usage

clear_cache()

Value

Invisible NULL.

See also

cache_info() to inspect the cache before clearing it.

Other data access: cache_info(), list_datasets(), list_datatypes(), noaa_get()

Examples

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