Description Usage Arguments Value Examples
View source: R/get_aggregated_shares_outstanding.R
This function will use the simfin api to grab aggregated shares outstanding of stocks.
1 2 3 4 5 6 | simfinR_get_aggregated_shares_outstanding(
id_companies,
api_key,
filter = "all",
cache_folder = "simfin_cache"
)
|
id_companies |
A vector of ids of companies |
api_key |
Your api key |
filter |
Omit to return all types of shares outstanding, or one of "common-outstanding", "common-outstanding-basic", "common-outstanding-diluted", "preferred". See https://simfin.com/api/v1/documentation/#operation/getCompSharesAggregated for more detail. |
cache_folder |
The cache folder to save files |
A dataframe with aggregated shares outstanding data
1 2 3 4 | ## Not run:
df <- simfinR_get_aggregated_shares_outstanding(59265, 'YOURAPIKEY')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.