UPDATE: code and figure updated at 647 AM CST on 19 Dec '11. Also, see Jarrett Byrnes (improved) fork of my gist here.
The site I WORK FOR THE INTERNET is collecting pictures and first names (last name initials only) to show collective support against SOPA (the Stop Online Piracy Act). Please stop by their site and add your name/picture.
I used the #rstats package twitteR, created by Jeff Gentry, to search for tweets from people signing this site with their picture, then plotted using ggplot2, and also used Hadley's lubridate to round timestamps on tweets to be able to bin tweets in to time slots for plotting.
Tweets containing the phrase 'I work for the internet' by time:
Here's the code as a GitHub gist. Sometimes the searchTwitter fxn doesn't returns an error, which I don't understand, but you can play with it:
No comments:
Post a Comment