-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
952 additions
and
395 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class ProjectsConfig(AppConfig): | ||
name = 'projects' |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions
41
democracy_club/apps/projects/templates/projects/candidates.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% extends "projects/projects_base.html" %} | ||
{% load markdown_deux_tags %} | ||
{% load static %} | ||
{% block title %} | ||
Candidates Wiki | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<article> | ||
<h1>Candidates Wiki</h1> | ||
<img src="{% static "ynr-on-a-phone.png" %}"> | ||
{% filter markdown %} | ||
|
||
|
||
In the UK, the state does not provide nationwide data on election candidates. | ||
|
||
But everyone — from individual voters to journalists and campaigners — wants this information. | ||
|
||
So we created the crowdsourced database of UK election candidates. | ||
|
||
The data powers our voter information website, WhoCanIVoteFor.co.uk. It’s also been used by Google, The Electoral Commission, The Guardian and many other organisations. | ||
|
||
Since 2015, it has helped tens millions of people to learn about their candidates. | ||
|
||
> Democracy Club’s work gathering data on candidates standing for election has been enormously helpful to us. | ||
It has allowed us to produce a more detailed analysis of the elections than was possible before and has | ||
made the process of gathering candidate data easier. In the absence of a comprehensive, standardised, | ||
digital process for reporting the results of elections across the UK, Democracy Club performs a vital | ||
role in collecting and distributing this data. | ||
|
||
<cite>Oliver Hawkins, Social & General Statistics Section, House of Commons Library</cite> | ||
|
||
<a href="https://candidates.democracyclub.org.uk/">Help add to the database here</a>. | ||
|
||
<a href="https://candidates.democracyclub.org.uk/help/api">Get the data here</a>. | ||
|
||
{% endfilter %} | ||
|
||
</article> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% extends "projects/projects_base.html" %} | ||
{% load markdown_deux_tags %} | ||
|
||
{% block title %} | ||
Democracy Club CVs | ||
{% endblock %} | ||
|
||
|
||
{% block content %} | ||
<article> | ||
<h1>Democracy Club CVs</h1> | ||
{% filter markdown %} | ||
|
||
Sending a CV is usually the very first step of a job application. | ||
|
||
We believe it should also be the first step when people apply to become an MP. | ||
|
||
Voters can then [look at the CVs](http://cv.democracyclub.org.uk/), | ||
and assess skills and background before choosing who is best. | ||
|
||
[Find out more about the project](http://cv.democracyclub.org.uk/about), | ||
read [The Guardian's write up](https://www.theguardian.com/technology/2015/mar/30/mps-post-your-cvs-here) | ||
or [listen to the BBC's World At One coverage](https://www.youtube.com/watch?v=fZYdy5IhHKI) | ||
|
||
{% endfilter %} | ||
|
||
</article> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{% extends "projects/projects_base.html" %} | ||
{% load markdown_deux_tags %} | ||
{% load static %} | ||
|
||
{% block title %} | ||
Data and APIs | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<article> | ||
<h1>Data and APIs</h1> | ||
{% filter markdown %} | ||
|
||
We provide APIs and data for almost all our services. | ||
|
||
|
||
|
||
### Elections | ||
|
||
[Data on UK elections](https://elections.democracyclub.org.uk/) from council by-elections to general elections. We provide an API | ||
for looking up elections and ballot papers by postcode as well as tracknig boundary changes | ||
and Electoral Change Orders. | ||
|
||
Each election and ballot paper is | ||
[given an ID that we use in our other projects](https://elections.democracyclub.org.uk/reference_definition/). | ||
|
||
We track canceled polls, and provide additional data where needed, for example information | ||
on the recent voter ID pilots. | ||
|
||
|
||
### Polling locations | ||
|
||
The API for our [polling station finder]({% url "projects:polling_one_pager" %}), providing | ||
polling station information for UK addresses. | ||
|
||
Used by The Electoral Commission, hundreds of councils, political parties and newspapers, this API. | ||
|
||
[Read the API docs](https://wheredoivote.co.uk/api/) | ||
|
||
### Candidates | ||
|
||
[Data on candidates](https://candidates.democracyclub.org.uk/help/api) | ||
for every election for district councils and above. We provide nomination data | ||
(name, party and area) information as a minumum, with contact info, statements, photos and more | ||
depending on how well crowdsourced the data is. | ||
|
||
Nomination data is verified by at least two people and sources are required for all edits. | ||
|
||
The API provides postcode lookup for currnet elections as well as historical | ||
data back to 2010. | ||
|
||
This API has been used by The Electoral Commission's YourVoteMatters site, Democratic Dashboard, Google. | ||
|
||
<figure> | ||
<img src="{% static "images/google-2015.png" %}"> | ||
<figcaption>Google used our candidates data in the 2015 General Election</figcaption> | ||
</figure> | ||
|
||
### Results | ||
|
||
Our candidates sourcer also stores results for all candiadtes we list on the site. This | ||
is <a href="https://candidates.democracyclub.org.uk/uk_results/">availible as an Atom feed and CSV download</a>, as well as in the candidates API. | ||
|
||
General election results were used by mySociety in 2015 and 2017 to set up | ||
<a href="https://www.mysociety.org/2015/05/05/were-up-all-night-to-get-mps/">newly elected MPs on | ||
TheyWorkForYou</a>. | ||
|
||
{% endfilter %} | ||
</article> | ||
|
||
{% endblock %} |
File renamed without changes.
57 changes: 57 additions & 0 deletions
57
democracy_club/apps/projects/templates/projects/electionleaflets.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{% extends "projects/projects_base.html" %} | ||
{% load markdown_deux_tags %} | ||
{% load static %} | ||
|
||
{% block title %} | ||
Election Leaflets | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<article> | ||
<h1>Election Leaflets</h1> | ||
{% filter markdown %} | ||
|
||
[ElectionLeaflets.org](https://ElectionLeaflets.org) is a service for users to | ||
upload photos of election leaflets or fliers that come through their letterbox. | ||
|
||
Our ambition is to create a live visualization of the flood of party political leaflets | ||
as they are delivered across the country during an election campaign. | ||
|
||
If you have recently received any election leaflets through your door you can help by | ||
photographing or scanning them and uploading the images to our server. | ||
|
||
The idea was conjured up in December 2008 at a weekend in Derbyshire, and finally | ||
acted upon in [Francis's](https://www.flourish.org/) front living room in Cambridge at the end of April 2009. | ||
|
||
The original name of the website was "The Straight Choice", derived from a leaflet in | ||
the controversial by-election in Bermondsey in 1983 which has become the type specimen of | ||
accusations of dodgy campaigning. We renamed the site "ElectionLeaflets.org" in August 2010. | ||
|
||
Democracy Club took the project on in 2015 and has kept it ticking over since. | ||
|
||
We have decided to retire the project unless we get funding to maintain it, or at least to | ||
do some much needed updates. We need about £15,000 to get in good shape. | ||
|
||
[Caitlin Milazzo at Nottingham University published a paper](http://www.tandfonline.com/eprint/5dKQZDhJDjxFPZwImh8s/full) | ||
based on a vast use of | ||
ElectionLeaflets.org. She and a co-author analysed the number of times a party | ||
leader’s face appeared on the election leaflets delivered at the 2015 general election. | ||
|
||
> “The personal characteristics of political elites play an important role in British elections. | ||
While the personalization of the media’s election coverage has been the subject of much debate, | ||
we know less about the conditions under which voters receive personalized messages directly | ||
from elites during the campaign. In this paper, we use a new dataset that includes more than | ||
3,300 local communications from the 2015 general election to explore variation in the | ||
personalization of campaign messaging. We find that there is systemic variation in terms | ||
of where photographs of party leaders are included in election communications, which provides | ||
further evidence that campaign messages are deployed strategically to portray the candidate – | ||
and their party – in the best possible light.” | ||
|
||
If you want to help keep this project going, please consider <a href="{% url "donations:donate" %}"> | ||
chipping in £3 a month</a>. We're intersted in partnering with acidemics or media organisations | ||
so please <a href="{% url "contact" %}">get in touch</a> if you want to support this project. | ||
|
||
{% endfilter %} | ||
</article> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{% extends "projects/projects_base.html" %} | ||
{% load markdown_deux_tags %} | ||
{% block page_heading %} | ||
<h1>Past projects</h1> | ||
{% endblock %} | ||
|
||
{% block main_content %} | ||
|
||
<ul class="card-list"> | ||
|
||
<li class="link-card"> | ||
<div class="text"> | ||
<h3><a href="{% url "projects:election_leaflets" %}">Election Leaflets</a></h3> | ||
<p>Photograph the leaflets that get put through your door and share them with the world.</p> | ||
</div> | ||
</li> | ||
|
||
|
||
<li class="link-card"> | ||
<div class="text"> | ||
<h3><a href="{% url "projects:cvs" %}">Candidates' CVs</a></h3> | ||
<p>MPCV helped voters read (or request to see) their candidates' CVs to help inform their vote.</p> | ||
</div> | ||
</li> | ||
|
||
|
||
|
||
<li class="link-card"> | ||
<div class="text"> | ||
<!-- TODO --> | ||
<h3>TakePart London</h3> | ||
{% filter markdown %} | ||
On the run up to the 2016 EU referendum we [plotted the electoral register for | ||
the whole of London](https://democracyclub.org.uk/blog/2016/06/03/8-out-10-cats-have-registered-vote-your-area/) against | ||
population estimates. From this we made a heatmap | ||
and tool for looking up registration rates by postcode. This included pictures of the area | ||
taken from [Scenic Or Not](http://scenicornot.datasciencelab.co.uk/) and passed through | ||
a [DeepDream](https://en.wikipedia.org/wiki/DeepDream) generator. | ||
|
||
[View the code on GitHub](https://github.com/DemocracyClub/TakePart.london) | ||
{% endfilter %} | ||
</div> | ||
</li> | ||
|
||
<li class="link-card"> | ||
<div class="text"> | ||
<h3>Election Mentions</h3> | ||
<p>Project for monitoring mentions of candidates, constituencies and parties in the news using | ||
webscraping and machine learning to extract names, placees and quotes.</p> | ||
</div> | ||
</li> | ||
|
||
<li class="link-card"> | ||
<div class="text"> | ||
<h3>MeetYourNextMP</h3> | ||
{% filter markdown %} | ||
MeetYourNextMP was a project run in 2015 to [crowdsource a list of public | ||
hustings events](https://jarofgreen.co.uk/category/meetyournextmp/) | ||
(where candidates take questions from a local audience). | ||
|
||
{% endfilter %} | ||
|
||
</div> | ||
</li> | ||
</ul> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
democracy_club/apps/projects/templates/projects/polling-stations/home.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% extends "projects/polling-stations/polling_stations_base.html" %} | ||
{% load markdown_deux_tags %} | ||
{% load static %} | ||
|
||
{% block page_title %} | ||
<h1>Polling station finder</h1> | ||
{% endblock page_title %} | ||
|
||
{% block main_content %} | ||
|
||
<img src="{% static "where-on-a-phone.jpg" %}" alt="A screenshot of WhereDoIVote.co.uk showing a polling station in Cardiff"> | ||
{% filter markdown %} | ||
*A screenshot from Democracy Club's <a href="https://wheredoivote.co.uk/">WhereDoIVote.co.uk</a> service, embeddable in council websites.* | ||
|
||
One of the most common questions from voters on election day is “*where do I vote?*”. We try to get people answers. | ||
|
||
<a href="https://wheredoivote.co.uk/">Our polling station finder</a> can be used by voters searching on the internet or on their local council website. | ||
|
||
We work with local government to establish internal best practice for publishing open data on polling stations — | ||
which means it becomes incredibly easy for voters to find it. Voters don’t need to know which ward or | ||
constituency they’re in or who manages their elections — we just get them the answer they’re searching for, | ||
in seconds. | ||
|
||
|
||
> Very clear, simple, comprehensive. It’s a wonderful voting tool and it definitely influenced positively my decision to vote. Thank you for providing such informative and easy-to-follow pre-voting platform. | ||
|
||
Find out more in our | ||
<a href="{% url "wheredoivote_user_feedback:wheredoivote_user_feedback_2017" %}">2017</a> and | ||
<a href="{% url "wheredoivote_user_feedback:wheredoivote_user_feedback_2018" %}">2018</a> feedback reports. | ||
|
||
If you work at a council, <a href="{% url "projects:polling_data_upload" %}">find out how to send us data</a>. | ||
|
||
Find out how to | ||
<a href="{% url "projects:polling_embed_code" %}">use the widget on your website or in an app</a>. | ||
|
||
|
||
{% endfilter %} | ||
|
||
<p>We know democracy can work better. We have an ambitious goal to provide accurate, | ||
non-partisan information on every election and candidate in the UK, unbiased and unfiltered. | ||
We need your help to make it happen. <a href="{% url "donations:donate" %}" class="cta">Donate now</a>.</p> | ||
|
||
|
||
{% endblock main_content %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.