tidyinfo {qmj} | R Documentation |
Formats raw financial data.
Description
tidyinfo
works by formatting and curtailing the
raw data generated by quantmod (and, by extension,
the get_info
function of this package)
Usage
tidyinfo(x)
Arguments
x |
A list of lists of financial statements. Generated from get_info(companies). |
Value
Returns a data set that is usable by the other functions of this package, as well as being generally more readable.
data.frame of cleaned info (cash flows, income statements, balance sheets)
See Also
Examples
if (reticulate::py_module_available("yfinance")) {
my_companies <- data.frame(ticker = c('GOOG', 'IBM'))
raw_data <- get_info(my_companies)
financials <- tidyinfo(raw_data)
}
[Package qmj version 0.2.1 Index]