ibge_sidra_tabelas
Search for SIDRA tables by name or survey filter to obtain the table code for querying IBGE data.
Instructions
Lists and searches available SIDRA tables.
Features:
List all SIDRA tables (aggregates)
Search by table name
Filter by survey (Census, PNAD, GDP, etc.)
Shows code and name of each table
SIDRA contains data from various surveys:
Demographic Census
PNAD Contínua (employment, income)
National Accounts (GDP)
Industrial Survey
Agricultural Survey
Examples:
List tables: (no parameters)
Search population tables: busca="população"
Census tables: pesquisa="censo"
This is step 1 of the SIDRA workflow: find a table code → ibge_sidra_metadados (structure) → ibge_sidra (query). For common data, a wrapper is usually easier: ibge_censo, ibge_indicadores, ibge_comparar, ibge_cidades.
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns a Markdown table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| busca | No | Termo para buscar no nome das tabelas/agregados | |
| pesquisa | No | Filtrar por código ou nome da pesquisa (ex: 'censo', 'pnad', 'pib') | |
| limite | No | Número máximo de resultados (padrão: 20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabelas | Yes | Lista de tabelas SIDRA retornadas | |
| total | Yes | Total de tabelas que correspondem aos critérios | |
| busca | No | Termo de busca aplicado, se houver | |
| pesquisa | No | Filtro de pesquisa aplicado, se houver |