Exporter Scrutins
exporter_scrutinsExport lists of roll-call votes to CSV or JSON for raw-data analysis. Filter by date range (up to 90 days) or keywords to get spreadsheet- or script-ready data.
Instructions
Exporte une liste de scrutins en CSV ou JSON, pour analyser les données soi-même.
À utiliser quand on veut des données brutes (tableur, script) plutôt qu'un résumé. Indiquer
soit date_debut et date_fin (90 jours au plus), soit sujet. Colonnes : uid, numero,
date, legislature, type, contexte, resultat, titre, dossier_ref, dossier_libelle,
url_civix. Les votes individuels s'exportent avec exporter_votes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "exporter_scrutins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sujet | No | Mots-clés, à la place des dates (100 scrutins au plus). | |
| format | No | Format de sortie : `csv` (avec en-tête) ou `json`. | csv |
| date_fin | No | Fin de période AAAA-MM-JJ. | |
| date_debut | No | Début de période AAAA-MM-JJ (avec `date_fin`, 90 jours au plus). | |
| max_lignes | No | Nombre maximal de lignes exportées. |