FAQ
Common questions about parlhub, the data and how to use it.
Where does the data come from?
From OpenParlData.ch. They collect the data from the official parliament websites, clean it up and publish it as open data. parlhub reads their exports. Without OpenParlData there would be no parlhub.
Which parliaments are covered?
The parliaments of Switzerland and Liechtenstein, as far as OpenParlData covers them. Coverage grows over time.
How current is the data?
parlhub syncs from OpenParlData regularly. OpenParlData in turn reads the official websites. So a change on an official site can take some days to show up here.
Why is some data missing?
Most likely it is not imported yet. OpenParlData is a young project, and not every parliament publishes everything. If something is on the official website but missing here for a long time, tell me.
I'm a member of parliament and my data is wrong. What can I do?
parlhub shows the data as published. It comes from your parliament's official website, collected by OpenParlData. If it is wrong there, contact your parliament's webmaster. Once it is fixed at the source, the fix flows here.
If it is right on the official site but wrong on parlhub, write me and I'll look into it.
How can I download data?
Every list has an export button. The same downloads also work as plain URLs, so you can script them:
/<section>/export/<dataset>/<format> all records of a section
/<section>/<id>/export/<dataset>/<format> records of one entityFor example: /votings/export/votings/csv. Formats are json, csv and xlsx. Downloads are paged, 500 rows each: ?page=2 for the next page. ?langs=de,fr sets the language priority of the content. Filters from the list URL work here too.
How may I use the data?
The data is licensed CC BY 4.0. Use it, share it and build on it, including commercially. Just name the source. Please credit OpenParlData.ch for the data; for the computed numbers (alignment, loyalty and so on), credit parlhub.
How are alignment and loyalty computed?
From the voting records: alignment compares how often two people vote the same way in shared votes; loyalty compares a person's votes with the majority of their own group. Fewer shared votes means less reliable percentages, so keep that in mind when comparing.
Is parlhub official?
No. parlhub is an independent, non-profit project by one person. It is not affiliated with any parliament, authority or party. For official information, use the parliament websites.
Do you track me?
No. There are no ads, no analytics and no trackers. One functional cookie stores your settings (language, theme). That's it.
Can I support or contribute to the project?
Yes, gladly. There is no donate page. If you want to help with the running costs, just write me. Developers and political-science researchers who want to contribute are very welcome too. The code is open source, on GitHub.