idescat.get_table_metadata
idescat_get_table_metadataObtain metadata and filter guidance for an IDESCAT statistical table after selecting a geographic area, with optional place-based query recommendations.
Instructions
Inspect an IDESCAT table after selecting geo_id with idescat_list_table_geos. Optionally pass place_query with the original user place phrase, such as Maresme or renda Girona, to receive filter_guidance. Use returned dimension IDs, category IDs, and filter_guidance.recommended_data_call exactly in idescat_get_table_data filters; use this tool or its metadata resource for citations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ca | |
| geo_id | Yes | ||
| node_id | Yes | ||
| table_id | Yes | ||
| place_query | No | ||
| statistics_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No | ||
| provenance | Yes |