4056 lines of data
So you don't have to scrape the BBC yourself:
http://www.chiark.greenend.org.uk/~twomack/2010-results.txt
contains 4056 lines of the form
The vote-count is blank for all the parties in Thirsk & Malton since that election hasn't happened yet.
The example script here makes the following list of parties standing in more than twenty places:
(for the curious, the English Democrats kept their deposit in Doncaster North; the Liberal Democrats kept all of theirs but I divided by zero in Thirsk; the Conservatives lost theirs in Na H-Eileanan An Iar and Glasgow East; Philip Lardner stood as an independent in Ayrshire North after being deselected from the Conservatives)
http://www.chiark.greenend.org.uk/~twomack/2010-results.txt
contains 4056 lines of the form
Chelsea & Fulham } Blue Environment Party } 17
The vote-count is blank for all the parties in Thirsk & Malton since that election hasn't happened yet.
The example script here makes the following list of parties standing in more than twenty places:
| Party name | Number of places standing | Deposits saved |
| Socialist Labour Party | 23 | 0 |
| Monster Raving Loony Party | 27 | 0 |
| Trade Unionist and Socialist Coalition | 38 | 0 |
| Plaid Cymru | 40 | 29 |
| Scottish National Party | 59 | 59 |
| Christian Party | 71 | 0 |
| English Democrats | 107 | 1 |
| Independent | 250 | 13 |
| Green | 335 | 7 |
| British National Party | 338 | 72 |
| UK Independence Party | 558 | 99 |
| Conservative | 630 | 627 |
| Labour | 631 | 625 |
| Liberal Democrat | 631 | 630 |
(for the curious, the English Democrats kept their deposit in Doncaster North; the Liberal Democrats kept all of theirs but I divided by zero in Thirsk; the Conservatives lost theirs in Na H-Eileanan An Iar and Glasgow East; Philip Lardner stood as an independent in Ayrshire North after being deselected from the Conservatives)
no subject
Perl is quite a powerful data-scrunging tool; load the result into excel as delimited with semi-colons as the delimiters.
no subject
Tories 224 as against 235 in national PR
Labour 196 as against 189
LibDem 146 as against 150
SNP/Plaid gain one each
"Others" 27 rather than 23, though Northern Ireland / randomness makes that a slightly dodgy figure I imagine.
Now to figure out how I calculate the bell curve rather than merely the central probability! La la la.
no subject
no subject