Repository for demonstrating work on twitter analysis.
all files require a completed twitter details file in the format shown in td.txt (tab deliminated)
Twitter_tools.py Pulls tweets from stream based on parameters or pulls tweets from users.
moving_average.py calculates sentiment of twitter posts and an average sentiment of users posts then calculates an adjusted moving average of sentiment for search term.
cluster_analysis.py clusters tweets using only text data via k-means. then calculates most common words to appear in each cluster that infrequently appear in remaining clusters.