How tobiasraucher/milieubeleid-checker works
MilieuRadar is a public-facing dashboard for tracking Dutch environmental and climate policy in Parliament. Its user workflow is to browse themed bills, motions, amendments, votes, debate summaries and upcoming milestones; the static site presents curated JSON alongside automatically collected Tweede Kamer data. The data workflow fetches and classifies parliamentary records, enriches them with document text and Eerste Kamer publications, then exposes them to the site and an iCalendar feed. README documentation also describes human-assisted summaries and milestone updates. Some UI and pipeline modules are unsampled, so edges show only relationships established by excerpts or README statements.
Main entry points: fetch_tk.py Parliament fetcher · index.html Static policy site · app.js Browser application · tk Parliament records
Components 25
Data collection
- Parliament fetcher
pipeline/fetch_tk.py - Source access
pipeline/bron.py - Sector selection
pipeline/selectie.py - Case numbering
pipeline/kamerstuk.py - Senate records
pipeline/eerstekamer.py - Motion text
pipeline/teksten.py
Curation and outputs
- Parliament records
data/tk - Debate summaries
data/debatten.json - Milestones
data/agenda.json - Theme mapping
data/themas-mapping.json - Theme review
pipeline/themas_review.js - Calendar export
pipeline/maak_ics.js - iCalendar feed
data/agenda.ics
Website experience
- Static policy site
index.html - Browser application
assets/app.js - Theme browsing
assets/themas.js - Search
assets/zoek.js - Agenda view
assets/agenda.js - Voting view
assets/regels.js - Document view
assets/document.js
Data monitoring
- Data checks
pipeline/controle.py
Other components
- Policy reader
- Tweede Kamer data
- Official publications
- CBS emissions data
Connections 29
- Tweede Kamer data → Parliament fetcher: provides records
README.md - Official publications → Parliament fetcher: provides publications
README.md - Parliament fetcher → Source access: fetches through
pipeline/fetch_tk.py - Parliament fetcher → Sector selection: classifies with
pipeline/fetch_tk.py - Parliament fetcher → Case numbering: uses numbering
pipeline/fetch_tk.py - Parliament fetcher → Senate records: collects Senate data
pipeline/fetch_tk.py - Parliament fetcher → Motion text: updates text
pipeline/fetch_tk.py - Parliament fetcher → Parliament records: writes records
README.md - Policy reader → Static policy site: browses
README.md - Static policy site → Browser application: loads scripts
README.md - Browser application → Theme browsing: uses themes
- Browser application → Search: offers search
- Browser application → Agenda view: shows agenda
- Browser application → Voting view: shows votes
- Browser application → Document view: shows documents
- Parliament records → Static policy site: supplies data
README.md - Debate summaries → Static policy site: supplies summaries
README.md - Milestones → Static policy site: supplies milestones
README.md - Theme mapping → Static policy site: supplies themes
README.md - Parliament records → Calendar export: provides activities
pipeline/maak_ics.js - Debate summaries → Calendar export: provides summaries
pipeline/maak_ics.js - Milestones → Calendar export: provides milestones
pipeline/maak_ics.js - Calendar export → iCalendar feed: writes feed
pipeline/maak_ics.js - Parliament records → Theme review: supplies items
pipeline/themas_review.js - Theme review → Theme mapping: imports reviewed mapping
pipeline/themas_review.js - Parliament records → Data checks: checks freshness
pipeline/controle.py - Debate summaries → Data checks: checks coverage
pipeline/controle.py - Milestones → Data checks: checks dates
pipeline/controle.py - CBS emissions data → Static policy site: supplies emissions
README.md