estbanr: Brazilian Monthly Banking Statistics by Municipality (ESTBAN)

Download, read and tidy the ESTBAN (Estatistica Bancaria Mensal por Municipio, Monthly Banking Statistics by Municipality) files published by the Brazilian Central Bank (Banco Central do Brasil) for every bank branch and municipality in Brazil. Each file reports balance-sheet accounts of the COSIF (Plano Contabil das Instituicoes do Sistema Financeiro Nacional, the chart of accounts of the Brazilian financial system) such as credit operations, deposits and savings. Files are fetched from the official site <https://www.bcb.gov.br/estatisticas/estatisticabancariamunicipios> with an idempotent local cache, read from their Latin-1 encoded CSV (comma-separated values) layout into tibbles, optionally filtered by state, and aggregated by municipality. Includes tools to detect and impute institution-month non-reports (an institution present in the file with every account equal to zero), which would otherwise be mistaken for zero balances.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: cli (≥ 3.6.0), dplyr (≥ 1.1.0), httr2 (≥ 1.0.0), readr (≥ 2.1.0), rlang (≥ 1.1.0), stats, stringi (≥ 1.7.0), tibble (≥ 3.2.0), utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-09-30
DOI: 10.32614/CRAN.package.estbanr (may not be active yet)
Author: Andre Leite ORCID iD [aut, cre], Marcos Wasiliew [aut], Hugo Vasconcelos ORCID iD [aut], Carlos Amorim ORCID iD [aut], Diogo Bezerra ORCID iD [aut], Júlia Nascimento Barreto [aut]
Maintainer: Andre Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/estbanr/issues
License: MIT + file LICENSE
URL: https://strategicprojects.github.io/estbanr/, https://github.com/StrategicProjects/estbanr
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: estbanr results

Documentation:

Reference manual: estbanr.html , estbanr.pdf
Vignettes: Getting started with estbanr (source, R code)
Non-reports and imputation (source, R code)

Downloads:

Package source: estbanr_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): estbanr_0.1.1.tgz, r-oldrel (x86_64): estbanr_0.1.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=estbanr to link to this page.

mirror server hosted at Truenetwork, Russian Federation.