enable_cache: Enable caching for API responses

View source: R/cache_old.R

enable_cacheR Documentation

Enable caching for API responses

Description

Enable caching for API responses

Usage

enable_cache(path = NULL)

Arguments

path

Cache directory path. If NULL, uses an appropriate default location.

Value

Path to cache directory (invisibly)

Examples


# Use temporary directory for cache
enable_cache(tempfile("nomis_cache"))


nomisdata documentation built on Feb. 10, 2026, 5:10 p.m.