Get a list of all companies in the SimFin database. See https://simfin.readme.io/reference/list-1 and https://simfin.readme.io/reference/general-1 for more information.
sfa_load_companies(
api_key = getOption("sfa_api_key"),
cache_dir = getOption("sfa_cache_dir"),
details = FALSE
)
data.table::data.table()
containing basic company information.
character Your 'SimFin' API key. It's recommended to set the API key globally using sfa_set_api_key.
character Your cache directory. It's recommended to set the cache directory globally using sfa_set_cache_dir.
logical(1)
: If TRUE
, return a more detailed data.table with additional columns. Default: FALSE
.