See projects related to the European Parliament for background information, data, and results.
- Install jq for the JSON processing.
- Download a fresh ep_votes.json.xz and unpack it somewhere. The unpacked
ep_votes.jsonfile is big (500MB+); please see the schema for an overview.
erroneous-votes.sh [path/to/ep_votes.json [outdir]]
Creates JSON dumps with erroneous votes for a given
vote-counts.sh [path/to/ep_votes.json [outdir]]
Shows the number of votings and votes for a given
ep-the-corrections to consume the generated data.
☐ Split up extraction files to several pipe-able pieces, so the entire script doesn't have to run every time. Most useful during development, as a complete run takes too long.
☑ Output aggregate data, such as total and filtered number of votings/votes and corrections, number of MEPs, votes, corrections per MEP, first/last voting dates, etcetera. Use a JSON format, and then update downstream visualization.
Copyright © 2014, 2015, 2016, 2017, Joel Purra All rights reserved.