simfinR_get_fin_statements: Get financial statements from simfin
Description
Uses the simfim api <https://simfin.com/> for downloading corporate financial datasets available at the website.
In order to use the function, you'll need a valid api key from <https://simfin.com/data/access/api>.
All data from the site is locally cached with package memoise, meaning it will never grab repeated data from the api.
Usage
simfinR_get_fin_statements(
id_companies,
api_key,
type_statements = c("pl", "bs", "cf"),
periods = "FY",
years = 2018,
cache_folder = "simfin_cache"
)