Python Project: Analyzing Twitter Sentiment

02 Sep 2016

The other day, I completed an assignment for my data manipulation MOOC where I wrote some functions in Python to collect data on tweet sentiment.

For this project, we were given an affinity file (with a README). The code was provided for this assignment.

The instructions for this mini project can be found at the link.

Please see my solutions below.

  1. 20 tweets

  2. Derive sentiment of each tweet

  3. Derive sentiment of unlisted terms

  4. Term frequency

  5. Happiest state

  6. Top ten hash tags