bfs_list_tables_by_theme
Find statistical tables using a BFS theme code. Get table IDs and titles to access data via other tools.
Instructions
List available statistical tables for a specific BFS theme.
Returns table IDs and titles for a given theme code. Use the returned table_id values with bfs_get_table_metadata and bfs_get_data.
Args: params (ListTablesByThemeInput): - theme_code (str): 2-digit theme code, e.g. '15' for Bildung - lang (str): Language code - limit (int): Max tables to return (default 20)
Returns:
ListTablesByThemeResult with the matching tables list. On error,
error and hint are set and tables is None.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| hint | No | ||
| theme_code | No | ||
| theme_name | No | ||
| total_in_theme | No | ||
| returned | No | ||
| tables | No | ||
| next_step | No |