getIncomeStatements: Loads the firm's Income Statements.

Description Usage Arguments Author(s) See Also Examples

View source: R/package.r

Description

This functions load to R a data.frame with all income statements for the specified firms.

It also could do some adjustments in data to all data be comparable. It is needed because there are more than one kind of financial statements. Here we show two of them one with annual scale (DFP) and another with quarter scale (ITR).

Usage

1
2
3
getIncomeStatements(firms, quarter = NULL, adjust = F)
getIncomeStatements(firms, quarter = NULL, adjust = T)
getIncomeStatements(firms, quarter = "yyyy-mm")

Arguments

For firms and quarter, same examples and possibilities as in getFinancialStatements and for

adjust there are two possibilities:

FALSE to do not adjust to each kind of financial demonstration and TRUE to do the adjustment.

Author(s)

Michel Ricardo Meyer michel.ricardo.meyer@gmail.com

See Also

getFinancialStatements getBalanceSheet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Here we have a panel with the third collum showing the kind of demonstration.
View(getIncomeStatements("VALE", adjust = F))

# Here we have a panel too, but without the column evidencing the type of
# demonstration (ITR or DFP).
# Some rows are removed (not enough data to make the adjustment)
# in order to avoid getting the package's user to error.
View(getIncomeStatements("VALE", adjust = T))

# Here the adjust argument is ignored, setting a quarter differently of NULL
# will force the function to output the original from CVM's system for that quarter.
View(getIncomeStatements("VALE", quarter = "2015-12", adjust = F))

MichelMeyer/package documentation built on June 4, 2020, 5:01 p.m.