bfs_list_themes
Retrieve the complete list of 21 Swiss federal statistical themes, each with a code and dataset count. Use these codes to filter datasets by theme.
Instructions
List all 21 BFS statistical themes with their codes and dataset counts.
Returns the complete taxonomy of Swiss federal statistics. Each theme has a 2-digit code used to filter datasets with bfs_list_tables_by_theme.
Args: params (ListThemesInput): - lang (str): Language code ('de', 'fr', 'it', 'en')
Returns:
ListThemesResult with theme codes, names, dataset counts per theme.
On error, error and hint are set and themes is None.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| hint | No | ||
| total_datasets | No | ||
| themes | No | ||
| note | No |