knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

b3archives

Download and read files from B3 (Brazil Stock Exchange and Over-the-Counter Market). You can find more files and their respective layouts in the B3 website.

Installation

You can install the released version of b3archives from CRAN with:

install.packages("b3archives")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("JHMenegotto/b3archives")

Example

Download and read the Index Report (BVBG.087.01):

library(b3archives)
archive <- b3_indexreport_download(as.Date("2019-09-18"))
df <- b3_indexreport_read(archive)
file.remove(archive)
dplyr::glimpse(df)


JHMenegotto/b3archives documentation built on March 29, 2020, 5:37 a.m.