idescat.get_table_data
idescat_get_table_dataFetch flattened IDESCAT data extracts using required statistics, node, table, and geo IDs. Apply filters with exact metadata dimension IDs or use 'last' for recent periods.
Instructions
Fetch a bounded, flattened IDESCAT data extract only after idescat_list_table_geos and idescat_get_table_metadata. Every request requires statistics_id, node_id, table_id, and geo_id. Use metadata dimension/category IDs exactly in filters, and use last for recent periods. This is not an exhaustive export tool; if IDESCAT returns narrow_filters, call metadata and retry with filters or last.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ca | |
| last | No | ||
| limit | No | ||
| geo_id | Yes | ||
| filters | No | ||
| node_id | Yes | ||
| table_id | Yes | ||
| statistics_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No | ||
| provenance | Yes |