Package: misocialr 0.4.0

André Leite

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'.

Authors:André Leite [aut, cre], Marcos Wasiliew [aut], Hugo Vasconcelos [aut], Carlos Amorim [aut], Diogo Bezerra [aut]

misocialr_0.4.0.tar.gz
misocialr_0.4.0.zip(r-4.7-any)misocialr_0.4.0.zip(r-4.6-any)
misocialr_0.4.0.tar.gz(r-4.7-any)misocialr_0.4.0.tar.gz(r-4.6-any)
misocialr_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
misocialr/json (API)

# Install 'misocialr' in R:
install.packages('misocialr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/strategicprojects/misocial/issues

Pkgdown/docs site:https://strategicprojects.github.io

On CRAN:

Conda:

3.18 score 16 exports 21 dependencies

Last updated from:f19524fcfb. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK123
source / vignettesOK233
linux-releaseOK133
windows-develOK83
windows-releaseOK78
wasm-releaseOK106

Exports:ibge_code7mds_api_fieldsmds_bolsa_familiamds_bpc_suasmds_cadunicomds_clear_cachemds_datamds_drop_unpublishedmds_fieldsmds_localitiesmds_pbf_condicionalidadesmds_periodsmds_seguranca_alimentarmds_suas_financiamentomds_suas_redemds_themes

Dependencies:askpassclicurldplyrgenericsgluehttr2lifecyclemagrittropensslpillarpkgconfigpurrrR6rlangsystibbletidyselectutf8vctrswithr

Getting started with misocialr
Overview | Themes and fields | Retrieving data | Months not published yet | Checks behind the labels

Last update: 2026-10-31
Started: 2026-10-31

Real-world example: Bolsa Família in Pernambuco
Introduction | Step 1 — Find the fields | Step 2 — Retrieve three years of data | Step 3 — The state series | Step 4 — Value per family, municipality by municipality | Step 5 — Keep the provenance | Where to go next

Last update: 2026-10-31
Started: 2026-10-31

Understanding the MI Social API
Introduction | Documents: one municipality, one month | Field names and storage suffixes | The curated dictionary | Zero is not "missing" | How misocialr talks to the API | How the functions map to the API | Further reading

Last update: 2026-10-31
Started: 2026-10-31