Description Usage Arguments Value See Also Examples
View source: R/fundamentals-statements.R
This function collects financial statement information for individual tickers. Cash flow, income statement, and balance sheet information are returned at the quarterly level, with an additional annual report attached if available.
In the returned data frame, quarter == 0
represents an annual report for
the corresponding year
.
If as_reported = FALSE
, an overview
list column is also returned that
contains a combination of metrics from various statements.
The returned data frame is in a very compact form containing list columns.
Each list column is made up of more data frames, where each data frame
represents that particular financial statement for that quarter. The
easiest way to get at the underlying data is to unnest the list columns
individually using tidyr::unnest()
.
1 2 3 4 5 6 | riingo_fundamentals_statements(
ticker,
start_date = NULL,
end_date = NULL,
as_reported = FALSE
)
|
ticker |
One or more tickers to download financial statements for. |
start_date |
The first date to download data for.
A character in the form YYYY-MM-DD, or a |
end_date |
The last date to download data for.
A character in the form YYYY-MM-DD, or a |
as_reported |
A single logical. When When |
A data frame containing the financial statement information for the requested tickers.
Other fundamentals:
riingo_fundamentals_definitions()
,
riingo_fundamentals_meta()
,
riingo_fundamentals_metrics()
1 2 3 4 5 6 | ## Not run:
riingo_fundamentals_statements(c("AAPL", "MSFT"))
riingo_fundamentals_statements(c("AAPL", "MSFT"), as_reported = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.