Senate tweets in one chart

July 18, 2012

Today, xkcd had some fun at the expense of our less formal Senators:

This made me wonder — what do Senators actually tweet about? So I wrote a Python script to scrape every Senator's last 20 tweets so I could analyze them. Here are the most commonly used words, filtering out both common words like "and" or "the" and URL contents like "http" and "www":

If you want to check my data or make your own, you can download a Word doc of the tweets here. Thanks to Tom Lee of the Sunlight Foundation for help in locating Senator's Twitter accounts and executing the scraping.

Show Comments
Most Read Business
Next Story
Sarah Kliff · July 18, 2012