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

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

License

joelpurra/ep-the-corrections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donate $5 now Donate $25 now Donate $100 now More options

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.

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!

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published