create.data: Import a financial statement

Description Usage Arguments Value Author(s) Examples

Description

Import a financial statement from the web (off of marketwatch.com). This function makes use of rvest and xml2.

Usage

1

Arguments

char

A string containing the formal stock ticker of a desired company

state

A string containing the desired financial statement of the company must be a character in the vector, c("Income-Statement", "Balance-Sheet", "Cash-Flows")

Value

A list containing the following attributes:

visualizeData

A matrix containing the financial statement

variables

A vector of all of the variables contained on the financial statement

Author(s)

Ryan Voyack

Examples

1
create.data('wmt') #imports Walmart's balance sheet with data from the last 5 years

ryanvoyack/financialStatementPlot documentation built on May 13, 2019, 8:38 a.m.