A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/msperlin/GetDFPData2/ below:

msperlin/GetDFPData2: Repository for the development of R package GetDFPData2

GetDFPData2 is the second and backwards incompatible version of GetDPFData, a R package for downloading annual financial reports from B3, the Brazilian financial exchange. Unlike its first iteration, GetDFPData2 imports data using a database of csv files from CVM, which makes it execute much faster than its predecessor. However, the output is slightly different.

If you're looking for historical data from DFP, a set of compiled datasets are available in my website.

# available in cran (stable)
install.packages('GetDFPData2')

# github (dev version)
devtools::install_github('msperlin/GetDFPData2')
Information about available companies
library(GetDFPData2)

# information about companies
df_info <- get_info_companies(tempdir())
print(df_info )
search_company('grendene', cache_folder = tempdir())
Downloading Financial Reports
library(GetDFPData2)

# downloading DFP data
l_dfp <- get_dfp_data(companies_cvm_codes = 19615, 
                      use_memoise = FALSE,
                      clean_data = TRUE,
                      cache_folder = tempdir(), # use local folder in live code
                      type_docs = c('DRE'), 
                      type_format = 'con',
                      first_year = 2019, 
                      last_year = 2020)

str(l_dfp)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4