GithubHelp home page GithubHelp logo

pipeline's Introduction

SixFifty Data Pipeline

ETL data pipeline for SixFifty modelling & analytics.

SixFifty Datasets

Raw

Dataset Date Format Source Licence Download URL Repo Path
UK Parliament general election results 6th May 2010 XLS Electoral Commission Open Government Licence v2.0 GE2010-results-flatfile-website.xls /data/general_election/electoral_commission/results/
UK Parliament general election results 7th May 2015 CSV - Zip file Electoral Commission Open Government Licence v2.0 2015-UK-general-election-data-results-WEB.zip /data/general_election/electoral_commission/results/
EU Referendum results 23rd June 2016 CSV Electoral Commission Open Government Licence v2.0 EU-referendum-result-data.csv /data/eu_referendum/electoral_commission/results/

Processed

We aim to provide our processed datasets in both CSV and Feather formats.

Dataset Description Download URL Repo Path
ge_2010_results Cleaner version of 2010 GE data CSV, Feather data/general_election/electoral_commission/results/clean/ge_2010_results.csv
ge_2015_results Cleaner version of 2015 GE data CSV, Feather data/general_election/electoral_commission/results/clean/ge_2015_results.csv
model_2015 Clean version of 2015 GE data along with counties and EU Referendum results at a regional level CSV, Feather data/model/clean/model_2015.csv

UK Political Polling

A manually curated set of poll results can be downloaded in a variety of formats. See data/polls/ for more information including a data dictionary.

BBC Debate Logs

Created by SixFifty, includes timestamps of when each person was speaking and for how long. See data/bbcdebate/speakers/ for more information including a data dictionary.


Filling this repo with data (short version)

  1. Check you're running Python 3.
  2. Ensure you have the Python requirements with pip install -r requirements.txt
  3. Then cd into the repo root (where this README is located) and run the following to download, populate this repo with data and auto-clean it ready for modelling:
python data/generate_data.py

Filling this repo with data (detailed setup instructions)

Please see these instructions on installing Anaconda + dependencies + configuring S3 tokens.


Licences

Name Description Attribution Statement
Open Parliament Licence Free to copy, publish, distribute, transmit, adapt and exploit commercially or non-commercially. See URL for full details. Contains Parliamentary information licensed under the Open Parliament Licence v3.0.
Open Government Licence Free to copy, publish, distribute, transmit, adapt and exploit commercially and non-commercially. See URL for full details. Contains public sector information licensed under the Open Government Licence v2.0.

pipeline's People

Contributors

john-sandall avatar danpalmer avatar

Stargazers

Daniel Fahey avatar Christopher Hadley avatar Jeremy Taylor avatar m-dz avatar zeristor avatar  avatar Florian Rathgeber avatar Sundeep Teki avatar Jakub Langr avatar Eric Thanenthiran avatar Gurumurthi V Ramanan avatar Alexandru Burlacu avatar MatteoMoschella avatar

Watchers

 avatar James Cloos avatar  avatar Christophe avatar Adam Smith avatar S.Sun avatar Ángel Javier Salazar 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.