Package: estbanr
Title: Brazilian Monthly Banking Statistics by Municipality (ESTBAN)
Version: 0.1.1
Authors@R: c(
    person("Andre", "Leite", email = "leite@castlab.org", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-4718-9766")),
    person("Marcos", "Wasiliew", email = "marcos.wasiliew@sepe.pe.gov.br", role = "aut"),
    person("Hugo", "Vasconcelos", email = "hugo.vasconcelos@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0001-6249-0920")),
    person("Carlos", "Amorim", email = "carlos.agaf@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0001-6315-8305")),
    person("Diogo", "Bezerra", email = "diogo.bezerra@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0002-1216-8674")),
    person("Júlia", "Nascimento Barreto",
           email = "juliabarreto@gd.seplag.pe.gov.br", role = "aut"))
Description: 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.
License: MIT + file LICENSE
URL: https://strategicprojects.github.io/estbanr/,
        https://github.com/StrategicProjects/estbanr
BugReports: https://github.com/StrategicProjects/estbanr/issues
Encoding: UTF-8
Language: en-US
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
Config/testthat/edition: 3
VignetteBuilder: knitr
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-09-22 11:51:01 UTC; leite
Author: Andre Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),
  Marcos Wasiliew [aut],
  Hugo Vasconcelos [aut] (ORCID: <https://orcid.org/0000-0001-6249-0920>),
  Carlos Amorim [aut] (ORCID: <https://orcid.org/0000-0001-6315-8305>),
  Diogo Bezerra [aut] (ORCID: <https://orcid.org/0000-0002-1216-8674>),
  Júlia Nascimento Barreto [aut]
Maintainer: Andre Leite <leite@castlab.org>
Repository: CRAN
Date/Publication: 2026-09-30 12:40:02 UTC
