Israeli? Support #No2Bio? Got some time?
We now have an open knesset embed showing the history of the biometric database bill, and if you click on the "3" (third vote) - you can see who voted for and against our privacy.
I've asked whether there was a way to make the embed open a specific popup, and @daonb suggested getting the information via API (thanks), so I took this JSON, imported the MK information into the vote objects (no need to fetch any URLs. All data's in there), and trimmed some fluff we probably wouldn't use (committee membership, etc.).
The original plan was to display photos of all the MKS responsible, but this ended up as a "spin off" of the original plan (thanks to @michbarsinai for the advice and code): a map that shows where the MKs who voted against our privacy live.
Here's what we currently have:
index.html
- the map. It is self contained (needs no additional files), and uses leaflet.js
to display GeoJSON data defined inline (look for var geodata = {
...}
).biovotes.json
- All votes in that session (not only "for" votes). A lot more information than what we use for the maps.votes2geojson.py
- A python script to convert biovotes.json
to GeoJSON (see docstring).There's still a need for an embed that shows names and photos. Names and faces you can stare at and memorize :) Note that there's a lot of information you can use in the display (for example some MKs have twitter and facebook links).
So fork it, make them accountable, and make it pretty :)
Modified http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js to a secure url
https://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js