After EU Lens, I wanted the same thing for Switzerland, so I built SwissData Parliament. It shows every roll-call vote of the National Council since the current legislature began in December 2023: more than 4,200 votes and over 835,000 individual ballots, in German, French, Italian and English.
For every vote you can see the result, how each parliamentary group and each canton's members voted, and what a yes or a no actually meant (in the Swiss parliament, "yes" is often just "the committee's proposal"). The pages link to the debate in the Official Bulletin, so you can read who spoke before the vote.
Each member has a profile with their voting record, the members they vote most like, how often they break with their group, and their declared interests and committees.
A few things I found interesting while building it:
- 21 votes ended in a tie and were decided by the casting vote of the member in the chair.
- 26 votes would have gone the other way if every absent member had voted with their group's majority.
- Parliament vs the people: for 36 popular votes you can compare Parliament's position with how the country actually voted.
There's also a statistical map of the members built from their votes, group cohesion statistics, and a quiz, "Who votes like me?", that matches your answers to members and groups.
The data comes from the Swiss Parliament's open data service, Swissvotes and the Federal Statistical Office, and it updates itself every week. It's part of SwissData, next to SwissData Spending.
On the tech side it's a React app with a Node/Express API, running as a serverless function, and a PostgreSQL database. Like EU Lens, I built it with a lot of help from Claude.
Have a look: parliament.swissdata-platform.ch