Skip to contents

Retrieve data

Main functions to query the IBGE API.

ibge_variables()
Get variable data from an aggregate
ibge_aggregates()
List IBGE aggregates

Explore metadata

Discover available aggregates, variables, periods, localities, and subjects.

ibge_metadata()
Metadata for an aggregate
ibge_periods()
Periods for an aggregate
ibge_localities()
Localities for an aggregate
ibge_subjects()
IBGE subject codes lookup

Survey catalog

Browse IBGE surveys and their institutional metadata via the Metadata API (v2).

ibge_surveys()
List IBGE surveys with metadata
ibge_survey_periods()
List periods with metadata for a survey
ibge_survey_metadata()
Get survey metadata for a specific period

Utilities

Helpers and cache management.

parse_ibge_value()
Parse IBGE value column
ibge_clear_cache()
Clear metadata cache
fetch_sidra_url()
Fetch data from a SIDRA API URL
parse_sidra_url()
Parse a SIDRA API URL into ibger parameters
ibge_explorer()
Interactive aggregate explorer