The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Using GetFREData

Marcelo Perlin

2022-06-13

Package GetFREData

GetFREData is an R package for downloading information about companies traded at B3, the Brazilian financial exchange. The source of the data is B3’s FRE, the official system for the registration of all major corporate actions.

The corporate data includes (since 2010):

Installation

# CRAN (stable)
install.packages('GetFREData')

# github (development)
if (!require(devtools)) install.packages('devtools')
if (!require(GetFREData)) devtools::install_github('msperlin/GetFREData') 

Example of usage

library(GetFREData)
library(tidyverse)

search_company('grendene', 
               cache_folder = tempdir())

l_fre <- get_fre_data(companies_cvm_codes = 19615,
                      fre_to_read = 'last',
                      first_year = 2020,
                      last_year = 2020, 
                      cache_folder = tempdir())
                      
glimpse(l_fre)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.