Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Latest commit

 

History

History
53 lines (27 loc) · 2.13 KB

README.md

File metadata and controls

53 lines (27 loc) · 2.13 KB

For more background information, see the projects related to the European Parliament page.

Using data from ep-erroneous-votes, based on open data dumps from Parltrack, to visalize 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.
  • Create reusable doT definitions, scripts.
  • Create jekyll templates for the surrounding page stuff, like headers, footers, shared CSS.

License

Copyright (c) 2014, Joel Purra All rights reserved.

When using ep-the-corrections, comply to the GNU Affero General Public License 3.0 (AGPL-3.0). Please see the LICENSE file for details.