An analysis of the sentiments of tweets using the Twitter API for my data science class
An analysis of the sentiments of tweets using the Twitter API for my data science class
To get started, run twitterstream.py for a any specific time (i.e. 10 minutes) and output it into a textfile:
Tweet_sentiment.py, term_sentiment.py, and happiest_state.py all have 2 parameters: the predetermined sentiment file and the tweet file. For example:
Frequency.py, and top_ten.py only require the tweet file: