Giter Club home page Giter Club logo

joelpurra / ep-the-corrections Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 49 KB

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.

Home Page: https://joelpurra.com/projects/european-parliament/

License: GNU Affero General Public License v3.0

JavaScript 100.00%
european-parliament parltrack vote votes politics activism eu mep euparl

ep-the-corrections's Introduction

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!

ep-the-corrections's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.