Skip to content

Download and Parse Public Data Released by B3 Exchange

0packages depend
5.8Kdownloads / year
82.9%test coverage
13/13flavors OK

Overview

About

Download and parse public files released by B3 and convert them into useful formats and data structures common to data analysis practitioners.

Changes in 0.1.0
  • Introduced a new template framework that no longer uses proto and is fully adapted to downloader and reader functions.
  • Added functionality to download and process futures settlement prices using the templates.
  • Heavily refactored the codebase to improve readability and maintainability.
  • Enhanced error handling and logging throughout the package.
  • Improved the caching mechanism to ensure that files are stored in a structured manner within the cache directory.
  • The caching system now organizes files by template, making it easier to manage and retrieve cached data.
  • Uses arrow for efficient data storage and retrieval.
  • Removed dependencies on rvest, proto, ascii, readxl and other packages that aren't heavy used.
  • Fixed test cases to align with the new template framework.
  • Fixed issues with the glue environment list requiring explicit passing as an environment.
  • Implemented registry as a singleton pattern.
  • Removed the filename text match to find the templates.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 379 wordsVignettesYes · 5 · dynamicNEWSYes · 100% structured · mentions 0.1.0Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
22 (1 internal)includes a package overview page
Examples that run
25%5 run in a plain check · 15 never run
Exported functions with examples
95%
Documented parameters
100%
Return-value docs
90%
Help pages citing references
0%

Downloads

5.8K
CRAN downloads in the past year
Rank #6,123 · ~16/day · ~482/mo
Daily download trend is not available in this view yet.
48430 days
1.4K90 days
5.8K1 year
Compare downloads with other packages →
Also on88 r2u5 autocran

Repository

107Stars
33Forks
25Open issues
0Open PRs
6Releases
799Commits
6Commit identities
rmarket-datafinancefinancial-datafinancial-servicesexchange-databrazil
799 commits · Last activity 2026-09-14 · +2.9% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-22 · 862026-09-28 · 107
PracticesBeta

14 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/ropensci/rb3 on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conduct (inherited from ropensci)Contributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-14 · The repository has a site deploy workflow

pkgdown site last built 2026-09-14

Coverage (1)
Coverage reporting
Show all practicesHide 4 practices
Reproducibility and dev environment (2)
MakefileDev Container
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-09-14
    Seen in the repository: .claude, CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Commits: at least 2 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 1 from outside contributors, first on 2026-09-14, 1 from forks
Models named in its commits
  • Claude Fable 5.12 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
30 external dependencies (excludes base and recommended)

Installing rb3 adds 54 packages (32 with compiled code, 34 MB of source tarballs). Heaviest: stringi 11 MB, RSQLite 4.2 MB, arrow 4.2 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.0.1 (2022)
Releases (13)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    record
    2025-07-07 · current release · diff ↗ ·
    removed 38 exports
    cachedir, clearcache, company_cash_dividends_get, company_info_get, company_stock_dividends_get, company_subscriptions_get, convert_to, cotahist_bdrs_get, cotahist_equity_get, cotahist_equity_options_get, cotahist_equity_options_superset, cotahist_etfs_get, cotahist_fiagros_get, cotahist_fidcs_get, cotahist_fiis_get, cotahist_funds_options_get, cotahist_get_symbols, cotahist_index_options_get, cotahist_indexes_get, cotahist_options_by_symbol_superset, cotahist_units_get, display_template, futures_mget, index_by_segment_get, index_comp_get, index_get, index_weights_get, indexes_last_update, indexreport_get, indexreport_mget and 8 more
    added 30 exports
    cotahist_filter_bdr, cotahist_filter_equity, cotahist_filter_equity_options, cotahist_filter_etf, cotahist_filter_fiagro, cotahist_filter_fidc, cotahist_filter_fii, cotahist_filter_fund_options, cotahist_filter_index, cotahist_filter_index_options, cotahist_filter_unit, cotahist_options_by_symbols_get, fetch_marketdata, indexes_composition_get, indexes_current_portfolio_get, indexes_historical_data_get, indexes_theoretical_portfolio_get, list_templates, maturitycode2date, meta_db_connection, rb3_bootstrap, template_dataset, template_meta_create_or_load, template_meta_load, template_meta_new, template_retrieve, yc_brl_get, yc_brl_with_futures_get, yc_ipca_with_futures_get, yc_usd_with_futures_get
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2025-02-18
  • 0.0.12
    record
    2025-02-18 · diff ↗
  • archivedRemoved from CRAN
    2024-08-25
    repeated policy violation On Internet access
  • 0.0.11
    record
    2024-07-14 · diff ↗ ·
    removed 2 exports
    cdi_get, idi_get
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2023-04-14
  • 0.0.10
    record
    2023-04-14 · diff ↗
  • archivedRemoved from CRAN
    2023-04-07
    repeated policy violations On Internet access, even after warning and update
  • 0.0.9
    record
    2023-03-24 · diff ↗
  • 0.0.8
    record
    2023-03-06 · diff ↗ ·
    added 4 exports
    company_cash_dividends_get, company_info_get, company_stock_dividends_get, company_subscriptions_get
  • 0.0.7
    record
    2022-12-14 · diff ↗ ·
    added 1 export
    index_get
  • 0.0.6
    record
    2022-08-19 · diff ↗ ·
    added 1 export
    cotahist_options_by_symbol_superset
Show 6 earlier eventsHide 6 earlier events
  • 0.0.5
    record
    2022-07-17 · diff ↗
  • 0.0.4
    record
    2022-06-22 · diff ↗
  • 0.0.3
    record
    2022-05-29 · diff ↗ ·
    removed 3 exports
    cotahist_funds_get, cotahist_units_options_get, download_data
    added 21 exports
    cotahist_equity_options_superset, cotahist_etfs_get, cotahist_fiagros_get, cotahist_fidcs_get, cotahist_fiis_get, cotahist_get_symbols, download_marketdata, index_by_segment_get, index_comp_get, index_weights_get, indexes_get, indexes_last_update, indexreport_get, indexreport_mget, yc_ipca_get, yc_ipca_mget, yc_ipca_superset, yc_superset, yc_usd_get, yc_usd_mget, yc_usd_superset
  • 0.0.2
    record
    2022-05-10 · diff ↗ ·
    added 2 exports
    futures_mget, yc_mget
  • 0.0.1
    record
    2022-05-05
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-05
Total releases
13 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
3.9 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("rb3")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rb3 version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy