by Bren Brightwell

Election results scraper

Spoiler warning: it wasn’t. Not all of it. So, I wrote a scraper to grab it from the BBC website (sorry, Auntie Beeb!).

Now, for mad electoral science.

The boring bits, unless they’re the interesting bits

Request for the HTTP, Cheerio for parsing and extracting, Numeral.js as the sledgehammer to crack 10,000-format numbers, Highland and JSONStream to glue things together.