GetRatios: GetRatios

Description Usage Arguments Value

Description

Calculates a set of fundamental ratios for a given firm

Usage

1
2
GetRatios(firm.name, sheets, ratio.names = NULL, dates = NULL,
  common.dates = FALSE)

Arguments

firm.name

Name of firm

sheets

A list of T1 sheets

ratio.names

(optional) A character vector of ratio names. If none is specified, all available ratios are returned.

dates

(optional) A character vector of reporting dates. These can either be years (e.g. '2014') or specific dates (e.g. '2014-05-12).

common.dates

(optional) A logical indicating whether ratios should only be calculated for dates that are common to all fundamentals, or for all possible dates. This is useful if you want the output to be a data.frame rather than a list.

Value

A matrix of ratios (one per column)


tcspears/t1Fundamentals documentation built on May 31, 2019, 7:30 a.m.