Skip to contents

Eases saving the data downloaded from api.tradestatistics.io and prevents ots_read_from_api() from downloading the same twice.

Usage

ots_cache(use_cache, file, ...)

Arguments

use_cache

Logical to save and load from cache. If TRUE, the results will be cached in memory if file is NULL or on disk if `file` is not NULL.

file

Character with the full file path to save the data.

...

Additional parameters inherited from ots_create_tidy_data().