Get Legislative Process
get_legislative_processHow a bill actually moves through one country's congress, derived from Dapper's own tramitación records rather than recalled from memory. Returns the chambers (which also answers unicameral vs. bicameral), the bill types currently in use, and the ordered sequence of stages bills pass through — each with how many updates and how many distinct bills were observed at that stage.
Use this for 'what happens next', 'what are the stages', 'how many debates', 'is it bicameral' questions. Two important limits, which you should pass on rather than paper over: this describes OBSERVED PRACTICE in the ingested record, not the text of the reglamento — it will not give you deadlines, majority thresholds, or article numbers, and for those you should say so and point to the chamber's own reglamento. A stage missing here means Dapper has not recorded it in the window, not that it does not exist.
window_days (default 730) bounds how far back the observation goes; widen it for a country with a thin recent record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_updates | No | Drop stages seen fewer than this many times in the window. Raise it to cut one-off or mis-labelled steps out of the sequence. | |
| window_days | No | How far back to observe, in days (30-3650). Widen it for a country with a thin recent record; narrow it to describe current practice after a rule change. | |
| country_code | Yes | One ISO alpha-2 country code, e.g. 'PA'. Only the first is used — the legislative process is a per-country answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||