list_eurostat_cache_items: Output cache information as data.frame

View source: R/set_eurostat_cache.R

list_eurostat_cache_itemsR Documentation

Output cache information as data.frame

Description

Parses cache_list.json file and returns a data.frame

Usage

list_eurostat_cache_items(cache_dir = NULL)

Arguments

cache_dir

a path to a cache directory. NULL (default) uses and creates 'eurostat' directory in the temporary directory defined by base R tempdir() function. The user can set the cache directory to an existing directory by using this argument. The cache directory can also be set with set_eurostat_cache_dir() function.

Value

A data.frame object with 3 columns: dataset code, download date and query md5 hash


rOpenGov/eurostat documentation built on Jan. 19, 2024, 11:45 a.m.