Coder Social home page Coder Social logo

maven's People

Contributors

dependabot[bot] avatar john-sandall avatar josephsutcliffe avatar joy-rosie avatar tomviner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

maven's Issues

Typos discovered by codespell

codespell --ignore-words-list="humber,ons" --quiet-level=2

./maven/datasets/coronavirus/README.md:7: authorative ==> authoritative
./maven/datasets/coronavirus/README.md:7: authorative ==> authoritative
./maven/datasets/general_election/README.md:7: authorative ==> authoritative
./maven/datasets/general_election/README.md:7: authorative ==> authoritative

0.1 release

Focus for 0.1 is to get it to a releasable state where I'm not entirely ashamed of how basic it all is. Task priority is on the Core Projects board.

Tasks

Core

Pipeline design

New pipelines

  • #19: Clean up 2015 results to use HoC data
  • #20: Add in 2017 UK/GB election results data
  • #21: Fix up UK2015Model to work with updated HoC data
  • #22: Create UK2017Model
  • #29: Update polling data using Mark Pack's PollBase
  • Add in this notebook in order to make it easy to get to a model ready dataset.

Clean up 2015 results to use HoC data

The currently processed 2015 results data isn't even that nice. Integrate further cleaning and ID mapping from the SixFifty model.

This currently uses the Electoral Commission's results dataset. Earlier this year, they stopped hosting results and this is now officially published by the House of Commons library at parliament.uk. We need to bring this code up-to-date so it uses the new data (which is in a different format!) for the 2015 results: https://researchbriefings.parliament.uk/ResearchBriefing/Summary/CBP-7186

The goal is the same, we want to turn this into a dataset with the same format as the current code with columns something like:

Press Association ID Number    Constituency ID    Constituency Name    Constituency Type    County    Region ID    Region    Country    Election Year    Electorate    Valid Votes    con    lab    ld    ukip    grn    snp    pc    other    con_pc    lab_pc    ld_pc    ukip_pc    grn_pc    snp_pc    pc_pc    other_pc    geo    winner

The new dataset also switches to using just ons_id (which is the same as Constituency ID in the previous cleaned results) and not Press Association ID Number, this is fine, you can drop that column.

Add in PHE data

gov.uk

Individual/historical aggregators

Create UK2017Model

Similar to UK2015Model, I have a notebook I can share which implements this.

0.2 release

Focus for 0.2 will be to bring in some more Python best practices. Feeling quite inspired after catching up with Cheuk, there's a lot of things going on in picknmix that are really nice.

Tasks

  • #31: Add 2019 UK GE results
  • #12: Add docs
  • #11: Consider adding CLI functionality
  • Use Cookiecutter & cookiecutter-pypackage.
  • Add CI.
  • Add badges for pypi version, build and docs status. (And more?)
  • Use http://editorconfig.org
  • Add AUTHORS
  • Add CONTRIBUTING
  • Add Makefile
  • Add requirements.txt as well as Pipfiles (stick with Pipenv or switch back to pip-tools?)
  • Add setup.cfg
  • Run tests with tox if haven't done so yet
  • Version datasets and integrate this into caching spec.

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.