(Using Tweepy, sqlalchemy, Bokeh and Textblob)
Overview:
Look to collect basic information about an account, and the accounts following or followed by that account, as well as the second degree network. Then add this into a database which stores the account information, and information concerning the relationships between accounts.
Info collected:
Name
Description
Account age in weeks
Number followers
Number following
Number of tweets
Average tweet length
Sentiment score - Polarity (using Textblob)
Sentiment score - Objectivity (using Textblob)
Then, based on the information collected, provide a scatter plot visualisation to compare any of the given columns.
In addition, write functions to allow users to unfollow accounts based on the data collected (for example the most negative accounts, based on their Sentiment score)
tweepy1.py : is used for all of the functions which enter data into the db app.py : is used for visualization and accessing/using the data.