Skip to contents

irw_fetch() and irw_itemtext() keep each table they download so that later sessions do not export it again. A copy is used for as long as the table is unchanged on Redivis, and replaced when it changes. See irw_cache_dir() for where the files are and how to switch this off.

Usage

irw_cache_info()

Value

A tibble with one row per cached file: kind ("tables" or "itemtext"), table, hash (Redivis' content hash, which decides whether the copy is current), version (the dataset release it was fetched from), reference, size_mb, fetched_at and path.

Examples

if (FALSE) { # \dontrun{
info <- irw_cache_info()
sum(info$size_mb)
} # }