Learn R Programming

CRAN Package GetITRData - Reading Quarterly Financial Reports from Bovespa

Financial statements of companies traded at B3 (formerly Bovespa), the Brazilian stock exchange, are available in its website. Accessing the data for a single company is straightforwardd. In the website one can find a simple interface for accessing this dataset. An example is given here. However, gathering and organizing the data for a large scale research, with many companies and many quarters, is painful. Quarterly reports must be downloaded or copied individually and later aggregated. Changes in the accounting format thoughout time can make this process slow, unreliable and irreproducible.

Package GetITRData provides a R interface to all financial statements available in the website. It not only downloads the data but also organizes it in a tabular format. Users can simply select companies and a time period to download all available data. Several information about current companies, such as sector and available quarters are also at reach. The main purpose of the package is to make it easy to access quarterly financial statements in large scale research, facilitating the reproducibility of such studies.

Installation

The package is available in CRAN (release version) and in Github (development version). You can install any of those with the following code:

# Release version in CRAN
install.packages('GetDFPData') 

# Development version in Github
devtools::install_github('msperlin/GetDFPData')

How to use GetDFPData

See manual and vignette in CRAN.

Copy Link

Version

Install

install.packages('GetITRData')

Monthly Downloads

4

Version

0.7

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Marcelo Perlin

Last Published

February 28th, 2018

Functions in GetITRData (0.7)

gitrd.get.info.companies

Reads up to date information about Bovespa companies from a github file
gitrd.read.fre.zip.file

Reads a single zip file downloaded from Bovespa
gitrd.get.bovespa.data

Reads information for a company from B3 site
gitrd.get.inflation.data

Downloads and read inflation data from github
gitrd.read.zip.file.type.fre

Reads folder for zip file post 2011 (internal)
gitrd.search.company

Helps users search for a company name
gitrd.export.ITR.data

Export tibble to an excel file
gitrd.fix.dataframes

Fix dataframe for version issues and inflation measures (internal)
gitrd.read.zip.file.type.1

Reads folder for zip file post 2011 (internal)
gitrd.read.zip.file.type.2

Reads folder for zip file pre 2011 (internal)
gitrd.read.fwf.file

Reads FWF file from bovespa (internal)
gitrd.read.zip.file

Reads a single zip file downloaded from Bovespa
gitrd.GetITRData

Downloads and reads financial reports from Bovespa
gitrd.convert.to.wide

Converts a dataframe from gitr_GetITRData to the wide format