cache_state_range: Get cache state for a specific single or multi range

Description Usage Arguments Value Examples

View source: R/cache.R

Description

Get cache state for a specific single or multi range

Usage

1
cache_state_range(range, tc = "hour", data_path = "data/cache")

Arguments

range

A single range-list or list of range-lists in the format list(gte = ..., lte = ...) expressing the date ranges to check in cache

tc

The sampling period of the cache

data_path

The data path to look at

Value

A list with hits and misses for files and dates

Examples

1
2
r = range_recent_tc(what = "seasonal", tc = "hour", N = 30, sc = "day")
cache_state_H  <- cache_state_range(range = r, tc = "hour", data_path = "data/cache")

henfiber/later documentation built on May 20, 2019, 6:46 p.m.