simfinR_get_single_aggregated_shares_outstanding: Get aggregated shares outstanding data for single company

Description Usage Arguments Value Examples

View source: R/get_aggregated_shares_outstanding.R

Description

Helper function of simfinR_get_aggregated_shares_outstanding. Will fetch data for a single company and save results in cache.

Usage

1
2
3
4
5
6
simfinR_get_single_aggregated_shares_outstanding(
  id_sim,
  api_key,
  filter = "all",
  cache_folder = "simfin_cache"
)

Arguments

id_sim

The simfin id

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

Cache folder to save files

Value

A dataframe with aggregated shares outstanding

Examples

1
2
3
4
## Not run: 
df <- simfinR_get_single_aggregated_shares_outstanding(59265, 'YOURAPIKEY')

## End(Not run)

msperlin/simfinR documentation built on June 19, 2021, 10:21 p.m.