misocialr: Access the Brazilian 'MDS' Social Information Matrix ('MI Social') API from 'R'

'Tidyverse'-friendly interface to the 'MI Social' API of the Brazilian Ministry of Development and Social Assistance ('MDS', 'SAGI') <https://aplicacoes.mds.gov.br/sagi/servicos/misocial>. Retrieves monthly municipal series of the 'Cadastro Unico' (registered families and people by income bracket), the 'Bolsa Familia' programme (beneficiary families, benefits and transfers), the 'BPC' benefit, the social assistance network ('CRAS', 'CREAS' and other units), 'SUAS' funding, 'Bolsa Familia' conditionality monitoring and food security programmes as tidy long-format 'tibbles'.

Version: 0.4.0
Depends: R (≥ 4.1.0)
Imports: httr2 (≥ 1.0.4), cli (≥ 3.6.1), tibble, purrr (≥ 1.0.0), dplyr (≥ 1.1.1), rlang, utils
Suggests: ggplot2, tidyr, scales, testthat (≥ 3.2.1), httptest2, withr, jsonlite, webfakes, knitr, rmarkdown
Published: 2026-10-31
DOI: 10.32614/CRAN.package.misocialr (may not be active yet)
Author: André Leite ORCID iD [aut, cre], Marcos Wasiliew ORCID iD [aut], Hugo Vasconcelos ORCID iD [aut], Carlos Amorim ORCID iD [aut], Diogo Bezerra ORCID iD [aut]
Maintainer: André Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/misocial/issues
License: MIT + file LICENSE
URL: https://strategicprojects.github.io/misocial/, https://github.com/StrategicProjects/misocial
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: misocialr results

Documentation:

Reference manual: misocialr.html , misocialr.pdf
Vignettes: Understanding the MI Social API (source)
Real-world example: Bolsa Família in Pernambuco (source)
Getting started with misocialr (source)

Downloads:

Package source: misocialr_0.4.0.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): not available, r-oldrel (x86_64): not available

Linking:

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