All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2020-02-03
- Model-ready datasets can now be "prediction-only" (i.e. for use pre-election when we don't know results).
- Model-ready datasets include UKIP and BXP as part of "Other" until a better solution can be found.
- Various changes to enable a better regional UNS forecast:
- better handling of NI parties;
- regional poll-of-polls goes back a month to incorporate large sample regional polling and not just sub-samples;
- MRP sample sizes are disregarded for weighted poll-of-polls;
- missing sample sizes (such as for polls derived from PollBase) are imputed using mean sample size within the same region;
- Merged SixFifty UK polling data (detailed inc. sample sizes) up to June 2017 with Mark Pack's PollBase which has less columns but all polls up to Dec 2019.
- Incorporated regional polling & regional sub-samples for December 2019 from SixFifty.
general-election/UK/2019/model
: added model-ready dataset including UNS and regional UNS forecasts for the 2019 UK General Election.
0.0.12 - 2020-02-03
general-election/UK/2015/model
: model-ready dataset for just the 2015 UK General Election.
general-election/UK/2017/model
: model-ready dataset for the 2017 UK General Election.
0.0.11 - 2020-02-02
- Updated & refactored polling pipeline code.
- Updated & refactored pipeline for building model-ready datasets for 2015/2017 UK general elections.
0.0.10 - 2020-01-26
- Raw datasets are now cached on download, and processed datasets cached after processing, and always checked against MD5 for integrity.
- Tests now exist for utils.py
0.0.9 - 2020-01-26
- UK 2017 General Election dataset (
general-election/UK/2017/results
). - Some tests (that really need caching!).
- Now using data from the House of Commons Library.
- The basic processed election results are now "long form" with less but more standardised information.
- The full election results are (for now) no longer provided.
- Lots of refactoring with some new base classes & utils making it faster to add new datasets.
0.0.8 - 2019-11-14
- Electoral Commission no longer hosts 2010 GE results so use our fallback until a new primary can be found.
- Fixed URL to EC's 2015 GE results.
0.0.7 - 2019-11-14
- Tests added to setup.py.
- Switched to using pip-tools instead of Pipenv for generating requirements.txt & locking dependencies.
0.0.6 - 2019-07-13
general-election/UK/2015/model
: model-ready datasets for the 2015/2017 UK General Elections.- Regional polling datasets.
0.0.5 - 2019-07-13
- Basic tests for
get.py
- Additional processing for the GE2015 results pipeline to generate a more useful dataset for common election modelling tasks.
- Added
general-election/UK/2010/results
dataset.
- API design for dataset identifiers to use dash/slash instead of underscore/dash and capitalised country codes to make it clearer these will be ISO 3166 Alpha-2 codes, e.g.
general_election-gb-2015-results
->general-election/GB/2015/results
. - Changed GB to UK everywhere as these results are full UK results including Northern Ireland.
0.0.4 - 2019-07-07
- Fixed relative imports and switch to using a class for each dataset.
0.0.3 - 2019-07-07
- Improved README.
0.0.2 - 2019-07-07
- UK 2015 General Election dataset (
general_election-gb-2015-results
). - Proper README plus data dictionary.
- MANIFEST.in plus additional packaging info and this changelog.
0.0.1 - 2019-07-07
- Barebones functionality, Python package requirements (setup.py, Pipfile, .gitignore, LICENSE)