Interactive voting dashboard for TDs in Dail Eireann, built as a static React + Vite app and deployed to GitHub Pages.
Live site: https://robmcelhinney.github.io/OireachtasVote/
- Browse current and historic Dail sessions.
- Filter and sort TD voting records in a modern data table.
- Switch between
InputandSliderrange filtering forPercentandVotes. - Explore constituencies on an SVG map of Ireland.
- Click
Dublinto open the Dublin-specific inset map for finer constituency selection.
Data is collected from the official Oireachtas Open Data API:
The Python scripts generate static JSON used by the frontend, so no backend database is required.
- React
- React Router
- Vite
- GitHub Pages (static deploy)
src/info.json,src/members.json: current Dail snapshot used by the homepage.src/data/*info.json,src/data/*members.json: historical Dail session data.src/constituencies/33.json: constituency SVG paths (includes Dublin detail map geometry).python/OireachtasVoting.py: current-session data builder.python/OireachtasVotingHistory.py: historical data builder.
git clone git@github.com:robmcelhinney/OireachtasVote.git
cd OireachtasVote
npm installRun the app locally with Vite:
npm run devnpm run build
npm run previewnpm run deployThis runs predeploy (npm run build) and publishes dist/ to GitHub Pages.
Generate/update JSON from the Oireachtas API:
python3 python/OireachtasVoting.py
python3 python/OireachtasVotingHistory.pyThen run a fresh build:
npm run build- This project is static-first by design: fast to host, simple to maintain, no runtime server dependency.
- If you update generated JSON, commit those files so the deployed site reflects the latest dataset.