democracy_polis_list_elections
Retrieve historical Swiss federal and cantonal election results since 1900. Analyze candidates and party votes by year range, language, and result limit.
Instructions
Ruft historische Wahlen (National-/Ständerat, Regierungsrat) aus Polis ab.
Wahlanalysen (Kandidierende, Parteistimmen) seit 1900.
Polis enthält Wahlresultate seit 1900, inkl. Kandidatinnen- und Parteistimmen. Benötigt SRGSSR_CONSUMER_KEY und SRGSSR_CONSUMER_SECRET.
Args: params (PolisElectionInput): Enthält: - year_from/year_to (int): Zeitraumfilter - lang (str): Ausgabesprache - limit (int): Max. Resultate
Returns: str: JSON mit Wahlliste oder Hinweis zur Registrierung
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |