Package: estbanr 0.1.1

André Leite
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.
Authors:
estbanr_0.1.1.tar.gz
estbanr_0.1.1.zip(r-4.7-any)estbanr_0.1.1.zip(r-4.6-any)estbanr_0.1.1.zip(r-4.5-any)
estbanr_0.1.1.tgz(r-4.6-any)estbanr_0.1.1.tgz(r-4.5-any)
estbanr_0.1.1.tar.gz(r-4.7-any)estbanr_0.1.1.tar.gz(r-4.6-any)
estbanr_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
estbanr/json (API)
| # Install 'estbanr' in R: |
| install.packages('estbanr', repos = c('https://strategicprojects.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/strategicprojects/estbanr/issues
Pkgdown/docs site:https://strategicprojects.github.io
Last updated from:a75e66fae1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 134 | ||
| source / vignettes | OK | 213 | ||
| linux-release | OK | 144 | ||
| macos-release | OK | 98 | ||
| macos-oldrel | OK | 97 | ||
| windows-devel | OK | 115 | ||
| windows-release | OK | 106 | ||
| windows-oldrel | OK | 78 | ||
| wasm-release | OK | 134 |
Exports:estban_by_municipalityestban_cache_direstban_clean_namesestban_columnsestban_downloadestban_fetchestban_flag_nonreportestban_impute_nonreportestban_readestban_urlestban_verbetes
Dependencies:askpassbitbit64clicliprcpp11crayoncurldplyrgenericsgluehmshttr2lifecyclemagrittropensslpillarpkgconfigprettyunitsprogressR6readrrlangstringisystibbletidyselecttzdbutf8vctrsvroomwithr
Last update: 2026-09-11
Started: 2026-09-11
Last update: 2026-09-11
Started: 2026-09-11
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Aggregate ESTBAN to the municipality | estban_by_municipality |
| Resolve the estbanr cache directory | estban_cache_dir |
| Normalize ESTBAN column names to snake_case | estban_clean_names |
| ESTBAN column layout and account dictionary | estban_columns estban_verbetes |
| Download one ESTBAN month | estban_download |
| Download and read a range of months | estban_fetch |
| Flag institution-months that were not reported | estban_flag_nonreport |
| Impute non-reported institution-months | estban_impute_nonreport |
| Read an ESTBAN CSV file | estban_read |
| Candidate download URLs for one ESTBAN month | estban_url |