write_ad_cache: write data from AREAdata to cache file

View source: R/utils-cache.R

write_ad_cacheR Documentation

write data from AREAdata to cache file

Description

write data from AREAdata to cache file

Usage

write_ad_cache(
  d,
  metric = NULL,
  gid = NULL,
  path = NULL,
  format = "rda",
  compression_type = "bzip2",
  compression_level = 9
)

Arguments

d

data to write.

metric

metric downloaded (inferred if not provided).

gid

gid of data (inferred if not provided).

path

cache path.

format

format to store data in (currenly unused).

compression_type

type of compression to use when caching.

compression_level

level of compression to use while caching.

Value

Path of cached file (invisibly)


ohvbd documentation built on March 10, 2026, 1:07 a.m.