inei_browse_topics
Browse the INEI thematic indicator tree to explore Census 2017 categories and sub-categories. Locate leaf indicators by their ID for data retrieval.
Instructions
Browse the INEI thematic indicator tree — all categories and sub-categories.
Returns the hierarchical topic tree with ~1977 entries from the Census 2017 database. Nodes with tipo=1 are categories; tipo=2 are leaf indicators with an id_indicador.
Use id_indicador (only on tipo=2 nodes) with inei_get_indicator_data (requires id_geografia).
Top-level categories include DEMOGRAFICO, SOCIAL, ECONOMICO, VIVIENDA, HOGARES, EDUCACION, SALUD, EMPLEO.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_id | No | Filter to children of a specific topic node by id_tema. Omit to get all topics (1977 items — large response). | |
| only_indicators | No | If true, return only leaf indicators (tipo=2) that have an id_indicador. |