Using Twitter to Map Emotions Geographically

Extracted 07MAY2012 from

By Dan Zarrella

A few weeks ago, I spoke at a federal agency conference in Arlington, VA and one of the most interesting topics was the potential use of social media, by intelligence agencies, to map out and predict social unrest.

By combining the linguistic analysis systems of TweetPsych with Twitter’s geo tagging data (which isn’t great yet) and the Google Maps API, I was able to plot tweets on specific latitude and longitude codes based on their emotional content.