Tweet Based Trends plotted on maps using hashtags uses Twitter data, more importantly the tweet text and sentimentally analyses it to output a feeling index and the tweet location, on the other hand, is simultaneously projected on a world map. This can be used for getting a bird's eye view of the current trends going on in the world, regarding any issues such as social, economic, cultural or political overview of a specific area.
The website of this project is here.
Input: A twitter hashtag and the limiting value of how many tweets are to be extracted.
Output: An HTML file, to be opened in any browser for displaying the map.
A sample HTML output file is uploaded to this repo where the hashtag input was 'bjp' and the limiting value was 1000.
- TextBlob - For sentimentally analysing the tweets.
- Folium - For creating a Leaflet map from location parameters.
- Tweepy - An open source API for fetching twitter data.
- Geopy - For geocoding the location name to latitude and longitude pairs.
- Tweet-Preprocessor - For cleaning the tweets