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 other sfa_*
functions
obsolete.
sfa_set_cache_dir(path, create = FALSE)
character The cache directory (invisibly).