Lists the cached responses currently on disk, with their size and age. Useful for checking whether a result is being served from a stale copy.
Value
A data frame with columns file, size_kb, and age_days,
returned invisibly if the cache is empty.
Details
Cached responses expire automatically. Requests whose window ends within
the last five weeks are treated as provisional and expire after one day,
because NCEI publishes recent observations with a lag and continues to
revise them. Older windows are treated as settled and expire after 30
days. Both thresholds are configurable through the options
readnoaa.cache_days_recent and readnoaa.cache_days, and any single
call can bypass the cache entirely with refresh = TRUE.
See also
Other data access:
clear_cache(),
list_datasets(),
list_datatypes(),
noaa_get()