This Python project fetches and streams political tweets and analyzes each tweet through graphs and wordclouds.
- diction (word choice and frequency)
- syllables (in future)
- tweet time (in future)
- tweet frequency
- Donald Trump (@realDonaldTrump)
- Hillary Clinton (@HillaryClinton)
- Jeb Bush (@JebBush)
- John Kasich (@JohnKassich)
- Ted Cruz (@tedcruz)
- Carly Fiorina (@CarlyFiorina)
- Bernie Sanders (@BernieSanders)
- Marco Rubio (@marorubio)
- President Obama (@POTUS and @BarrackObama)
-
-
Python 2.7 recommended
sudo apt-get install python
-
-
-
Used to Read API Key information
pip install ConfigParser
-
-
-
Used to Get Python Standardized time (included in python 2.7)
pip install datetime
-
- tweepy
-
Used to stream and fetch tweets. Unnecessary for Analyzing tweets.
pip install tweepy
-
-
-
Used to create graphs
pip install matplotlib
-
-
-
Used in graph creation
sudo apt-get install python python-tk
-
-
-
Used in wordcloud creation
sudo apt-get install wordcloud
-
-
-
library required for wordcloud
sudo apt-get install Image
-