init_cache_object: Init Cache Object

View source: R/caching.R

init_cache_objectR Documentation

Init Cache Object

Description

Initialise the cache object

Usage

init_cache_object(
  data_cache = NULL,
  object_ids = NULL,
  query = NULL,
  method = NULL,
  any_changes = TRUE,
  use_cache = FALSE,
  cache_path = NULL,
  id_field = NULL
)

Arguments

data_cache

the cached data

object_ids

the object ids to request

query

the query to execute

method

the caching method to use

any_changes

Have there been any changes to the data since the last cache?

use_cache

should a cache be used? This is interpreted from whether the user passes in a cache path

cache_path

where is/should the data be saved

id_field

which is the unique id field

Value

a cache_object


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.