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)
}
aljrico/rfinance documentation built on March 29, 2024, 2:31 a.m.