clear_gerda_cache: Clear the GERDA download cache

View source: R/gerda_cache.R

clear_gerda_cacheR Documentation

Clear the GERDA download cache

Description

Removes files written to the GERDA cache by load_gerda_web() (cache = TRUE). Because the upstream data can be updated in place, use this to force fresh downloads, or pass ⁠cache = TRUE, refresh = TRUE⁠ to load_gerda_web() for a one-off refresh.

Usage

clear_gerda_cache(data_name = NULL)

Arguments

data_name

Optional dataset name. If supplied, only that dataset's cached CSV/RDS files are removed; otherwise the entire cache is cleared.

Value

Invisibly, a character vector of the removed file paths.

See Also

gerda_cache_dir(), load_gerda_web()

Examples

# Not run: this deletes files from the user's cache directory.
## Not run: 
clear_gerda_cache()

## End(Not run)

gerda documentation built on July 27, 2026, 5:09 p.m.