sfa_set_cache_dir {simfinapi} | R Documentation |
Set cache directory globally
Description
It is highly recommended to set the cache directory globally. This has two advantages:
Results from the 'SimFin' API calls are cached over the end of the session. This is especially interesting if you don't have a SimFin+ account and the number of API calls is limited to 2,000 per day.
It makes specifying the
cache_dir
argument of othersfa_*
functions obsolete.
Usage
sfa_set_cache_dir(path, create = FALSE)
Arguments
path |
character The directory where you want to cache the responses from the 'SimFin' API calls. |
create |
logical Set |
Value
character The cache directory (invisibly).
[Package simfinapi version 1.0.0 Index]