Package: ibger 0.1.0

Andre Leite

ibger: Access the 'IBGE' Aggregate Data API from 'R'

'Tidyverse'-friendly interface to the Brazilian Institute of Geography and Statistics ('IBGE') aggregate data 'API' <https://servicodados.ibge.gov.br/api/docs/agregados?versao=3>. Query aggregates, variables, localities, periods, and metadata from surveys and censuses conducted by 'IBGE'.

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

ibger_0.1.0.tar.gz
ibger_0.1.0.zip(r-4.7)ibger_0.1.0.zip(r-4.6)ibger_0.1.0.zip(r-4.5)
ibger_0.1.0.tgz(r-4.6-any)ibger_0.1.0.tgz(r-4.5-any)
ibger_0.1.0.tar.gz(r-4.7-any)ibger_0.1.0.tar.gz(r-4.6-any)
ibger_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ibger/json (API)

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

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

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

On CRAN:

Conda:

5.30 score 2 stars 222 downloads 14 exports 22 dependencies

Last updated from:6621b41d98. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK137
source / vignettesOK211
linux-release-x86_64OK142
macos-release-arm64OK109
macos-oldrel-arm64OK82
windows-develOK128
windows-releaseOK94
windows-oldrelOK80
wasm-releaseOK148

Exports:fetch_sidra_urlibge_aggregatesibge_clear_cacheibge_exploreribge_localitiesibge_metadataibge_periodsibge_subjectsibge_survey_metadataibge_survey_periodsibge_surveysibge_variablesparse_ibge_valueparse_sidra_url

Dependencies:askpassclicurldplyrgenericsgluehttr2lifecyclemagrittropensslpillarpkgconfigpurrrR6rappdirsrlangsystibbletidyselectutf8vctrswithr

Understanding the IBGE Aggregate Data API
Introduction | Core concepts | Aggregates | Variables | Classifications and categories | Geographic levels and localities | Periods and periodicities | Request limits | View modes | How ibger maps to the API | Further reading

Last update: 2026-02-12
Started: 2026-02-11

Getting started with ibger
Overview | Installation | A typical workflow | Step 1 — Find an aggregate | Step 2 — Inspect the metadata | Step 3 — Retrieve data | Specifying localities | Specifying periods | Filtering with classifications | Automatic validation | Browsing the survey catalog | API limits and special values

Last update: 2026-02-11
Started: 2026-02-11

Real-world example: IPCA inflation
Introduction | Step 1 — Explore the aggregate | Step 2 — Monthly IPCA for Brazil | Plot the monthly variation | Step 3 — Compare accumulation measures | Step 4 — Breakdown by product group | Step 5 — Metropolitan area comparison | Step 6 — Building a complete dataset | Tips for large queries | Handling special values

Last update: 2026-02-11
Started: 2026-02-11

Tracking state GDP components with IBGE data
Overview | Setup | Helper: convert period codes to dates | 1) IPCA (7060) — Health insurance | 1.1 Discovering the right IDs | 1.2 Fetching the data | 1.3 Wide format for inspection | 1.4 Plot | 2) IPCA (7060) — Vehicle insurance | 3) PMS (8693) — Transportation and postal services | 4) PNAD Contínua (5434) — Accommodation and food services | 5) PMS (8693) — Professional and administrative services | 6) PNAD Contínua (5434) — Domestic services | 7) PIM-PF (8888) — Industrial production (selected CNAE sectors) | 8) Construction (8886) — Typical construction inputs | 9) PMC (8884 / 8757 / 8880) — Retail trade indices | 9.1 Vehicles, motorcycles, parts and accessories (8884) | 9.2 Construction materials (8757) | 9.3 Retail trade (8880) | Next steps

Last update: 2026-02-11
Started: 2026-02-11