using python and twitter api to read tweets and analyze them
The goal of this script, is to search the twitter api for tweets on the word of our choosing, I chose healthcare as at the time writing this script it is a topic of great concern, the script then uses TextBlob to analyize the sentiment of the user, polarity measures how positive or negative some text is, subjectivity measures how much of opinion or factual a text is, this is all outputted into a test.txt file. I did this just to learn how to use API and it seemed like a fun topic floating around stackoverflow. the consumer_key,consumer_secret, access_token, access_token_secret are your own personal api generated keys, i have left them blank as I do not wish to share my keys, please sign up for the twiiter api and use your own, it was crazy fun trying this on controversial topics, machine learning is the future :) and analyzing data has been the present norm