See projects related to the European Parliament for background information, data, and results.

⚠️ This project has been archived

No future updates are planned. Feel free to continue using it, but expect no support.

Using data from ep-erroneous-votes, based on open data dumps from Parltrack, to visualize erroneous, and subsequently corrected, votes by Members of the European Parliament.

Developed during the Europarl Hackathon, in preparation for the European elections 2014.


  1. Data generated by ep-erroneous-votes.


$ node render-templates.js <args>

Required arguments

  • --input-folder="/path/to/data/"

Optional arguments

  • --erroneous-votes="correctionals.json" (relative to --input-folder)
  • --aggregates="aggregates.json" (relative to --input-folder)
  • --grouped-by-mep="correctionals.grouped-by-mep.json" (relative to --input-folder)
  • --templates-folder="templates/" (relative to src/)
  • --output-folder="output/" (relative to src/)


It’s also possible to create a configuration file, src/render-templates.js.config.json, which can be used in place of the command line arguments and override values in src/render-templates.js.defaults.config.json. This is a per user/machine file, and should not be checked in.


☐ Write more background information and in-depth explanations in the rendered output.
☐ Add links to the original data file from the generated files.
☑ Create reusable doT definitions, scripts.
Create jekyll templates for the surrounding page stuff, like headers, footers, shared CSS.

Copyright © 2014, 2014, 2015, 2016, 2017, Joel Purra All rights reserved.

When using ep-the-corrections, comply to the GNU Affero General Public License 3.0 (AGPL-3.0). Your donations are appreciated!