spudmind / undertheinfluence Goto Github PK
View Code? Open in Web Editor NEWTracking influence in UK politics
License: MIT License
Tracking influence in UK politics
License: MIT License
UI representations of raw record is stored on node:Funding Relationship
At some point, you know.
I’m not sure if there’s much reason to be using python 2.x here.
(Rather than commenting stuff out). Seems like this would be a useful incremental improvement.
I built MITIE from the github source and it works fine. This is possibly an easier install process than downloading the pre-compiled version…? Not sure, really – I’ll investigate!
[This is not a well-worded issue]
We need a solution for scraping source data within a given date range. For instance, we currently scrape all Electoral Commission data (since 2001) and dump it into one big csv file. It would be preferable to dump yearly csvs, and come up with some solution for the current year.
We currently scrape from a CSV file, but I guess this needs to be manually downloaded?
It would be better to scrape from the EC site. I’ve written the code for this using mechanize
– just need to save the file (we should standardise how we’re dumping files.)
Run into this issue too. Fixed by changing utils/mitie to utils/information_extraction.
Not sure why this issue only intermittent, I suspect sys.path issue. The problem the folder under utils was called 'mitie' as well the python mitie interface file (utils/information_extraction/mitielib/mitie.py)
The entity resolver needs some work to make it behave consistently across Mp, Lords and donor / registered interest searches
Mps API to return registered interests and associated donations
Elastic Search + Mongo api data
Hitting an error right here:
https://github.com/spudmind/spud/blob/2c5a8ded2/utils/entity_resolver.py#L48
The problem is we’re using master_mps
before it has been initialised. On a populated db it’s probably fine, but not on the first run.
Green Party not being tagged a Political Party.
Liberal Democrats and Liberal Democrat Party not recognized as the same party
Lords API to return registered interests and associated donations
Resolving a person from an ID is the job of a standalone app, really. We should separate this component out.
2 sources:
Updated page: http://acoba.independent.gov.uk/former_ministers/former_ministers_appointments_2012_.aspx
https://www.gov.uk/government/collections/appointments-taken-up-by-former-ministers
Annual reports: http://acoba.independent.gov.uk/publications/reports.aspx
http://webarchive.nationalarchives.gov.uk/20140404084345/http://acoba.independent.gov.uk/publications/reports.aspx
(or: https://www.gov.uk/government/latest?departments%5B%5D=advisory-committee-on-business-appointments)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.