This script gets real time Twitter's data using Tweepy library and analyze them to do sentiment analysis using Textblob.
- Tweets is the function to interact with the twitter API v2
- Multiple is the function that accumulate data over a given timeframe (max 7 days, twitter limitation for none academic account
- Sentiment V1 is OBSELETE, uses old version and twitter API v1
- Sentiment V2 is made with textblob and simple sentiment analysis
- Sentiment V3 is made with a pre-trained model for tweet sentiment based roBERTa
- Appli simple uses data from Sentiment V3 to get an average daily sentiment using a simple average