Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Twittelection
Twitter in the
General Election
http://twittelection.co.uk
Dave Cross
@davorg
@twittelection
Twittelection
●
What?
●
Why?
●
How?
●
What happened?
●
Was it worth it?
What?
TwittElection
●
Twitter account
– @TwittElection
●
Twitter lists
– One per constituency
●
Web site
– twittelection.co.uk
–...
Why?
I ♥ Elections
I ♥ Twitter
Elections +
Twitter =
Awesome
How?
How?
●
Technology
– Pretty easy
●
Data
– Much harder
Technology
●
Twitter
– Lists & Widgets
– Recent changes
●
Perl
– Net::Twitter
●
Github pages
Technology
●
Bootstrap
●
jQuery
●
Modernizr
●
Initializr
Data
●
Much harder problem
●
650 constituencies
●
~6 candidates per constituency
●
~4000 candidates
●
No centralised data ...
YourNextMP
●
Crowd-sourced list of candidates
●
Party affiliation
●
Twitter username
●
And an API
Technology + Data
●
YMNP API
●
JSON
●
Basic data munging
●
Twitter List API
●
TwittElection
What
Happened?
Basically,
it worked
A few bugs
Interesting
error codes
403 & 429
108
Adding non-
existent user to
a list
Typo in
Twitter name
Changed
Twitter name
106
The user has
blocked you
@glenntingle
@glenntingle
(UKIP Norwich North)
See also
@timscottukip
Some people don't
understand
crowd-sourcing
Statistics
72%
Candidates By Party
Party Twitter No Twitter
Conservative 84% 16%
Labour 93% 7%
Lib Dem 70% 30%
UKIP 51% 49%
Green 77% 23%...
Was It
Worth It?
Was It Worth It?
●
Small number of users
– Lack of marketing
●
No stats on Twitter lists
●
People said nice things
Next Steps
●
Make it configurable
●
Promote code
●
http://github.com/davorg/twittelection
●
Re-use in other elections
– UK...
Questions?
@davorg
@twittelection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
TwittElection
Upcoming SlideShare
Loading in …5
×

0

Share

Download to read offline

TwittElection

Download to read offline

A Talk from OpenTech 2015 about a tool I wrote for monitoring parliamentary candidates on Twitter during the 2015 UK general election.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

TwittElection

  1. 1. Twittelection Twitter in the General Election http://twittelection.co.uk Dave Cross @davorg @twittelection
  2. 2. Twittelection ● What? ● Why? ● How? ● What happened? ● Was it worth it?
  3. 3. What?
  4. 4. TwittElection ● Twitter account – @TwittElection ● Twitter lists – One per constituency ● Web site – twittelection.co.uk – Page per constituency – Stats
  5. 5. Why?
  6. 6. I ♥ Elections
  7. 7. I ♥ Twitter
  8. 8. Elections + Twitter = Awesome
  9. 9. How?
  10. 10. How? ● Technology – Pretty easy ● Data – Much harder
  11. 11. Technology ● Twitter – Lists & Widgets – Recent changes ● Perl – Net::Twitter ● Github pages
  12. 12. Technology ● Bootstrap ● jQuery ● Modernizr ● Initializr
  13. 13. Data ● Much harder problem ● 650 constituencies ● ~6 candidates per constituency ● ~4000 candidates ● No centralised data source
  14. 14. YourNextMP ● Crowd-sourced list of candidates ● Party affiliation ● Twitter username ● And an API
  15. 15. Technology + Data ● YMNP API ● JSON ● Basic data munging ● Twitter List API ● TwittElection
  16. 16. What Happened?
  17. 17. Basically, it worked
  18. 18. A few bugs
  19. 19. Interesting error codes
  20. 20. 403 & 429
  21. 21. 108
  22. 22. Adding non- existent user to a list
  23. 23. Typo in Twitter name
  24. 24. Changed Twitter name
  25. 25. 106
  26. 26. The user has blocked you
  27. 27. @glenntingle
  28. 28. @glenntingle (UKIP Norwich North)
  29. 29. See also @timscottukip
  30. 30. Some people don't understand crowd-sourcing
  31. 31. Statistics
  32. 32. 72%
  33. 33. Candidates By Party Party Twitter No Twitter Conservative 84% 16% Labour 93% 7% Lib Dem 70% 30% UKIP 51% 49% Green 77% 23% SNP 100% 0% Plaid Cymru 83% 17%
  34. 34. Was It Worth It?
  35. 35. Was It Worth It? ● Small number of users – Lack of marketing ● No stats on Twitter lists ● People said nice things
  36. 36. Next Steps ● Make it configurable ● Promote code ● http://github.com/davorg/twittelection ● Re-use in other elections – UK & International ● Twitter + PopIt
  37. 37. Questions? @davorg @twittelection

A Talk from OpenTech 2015 about a tool I wrote for monitoring parliamentary candidates on Twitter during the 2015 UK general election.

Views

Total views

4,442

On Slideshare

0

From embeds

0

Number of embeds

1,661

Actions

Downloads

9

Shares

0

Comments

0

Likes

0

×