Retrieves quarterly or annual financial statements (income statement, balance sheet, or cash flow) for one or more tickers.
Value
A tibble with symbol as the first
column. Remaining columns vary by statement_type and reflect the
line items returned by the Yahoo Finance API.
Returns an empty tibble if all tickers fail.
Examples
if (FALSE) { # \dontrun{
yf_get_financials("AAPL", statement_type = "income")
yf_get_financials(c("AAPL", "MSFT"), statement_type = "balance-sheet", frequency = "quarterly")
} # }