Joel Purra: Developer and more


ep-the-corrections

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

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.

Requirements

  1. Data generated by ep-erroneous-votes.

Usage

$ 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/)

Configuration

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.

Todo

☐ 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!

Background animations by hexagonif.