R/get_statements.R

Defines functions get_statements

Documented in get_statements

#' Get Statements
#' @name get_statements
#' @description This function checks uses an existing connection handler to retrieve financial statements from the database.
#' @return Returns a data.table with the financial statements
#' @param ticker String with the ticker of the company.
#'
#' @export
#'
get_statements <- function(ticker){
  check_credentials()
  rfinanceConnection$get_statements(ticker)
}

Try the rfinance package in your browser

Any scripts or data that you put into this service are public.

rfinance documentation built on Oct. 26, 2021, 9:07 a.m.