/Twitter_analyzer

Twitter Analyzer with Visualization

Primary LanguagePythonMIT LicenseMIT

Twitter Data Analysis Tool

Overview

This tool is designed to access and analyze tweets using the Twitter API and Tweepy, a Python library for accessing the Twitter API. It focuses on extracting, processing, and visualizing data from Twitter, particularly for user timelines and specific hashtags.

Features

  • Access Twitter Data: Utilizes Tweepy to access Twitter data through the Twitter API.
  • OAuth Authentication: Securely authenticates user credentials.
  • Timeline Extraction: Retrieves the latest 3200 tweets from a predefined Twitter account's timeline.
  • Data Cleaning: Cleans tweets by removing mentions, hashtags, retweets, and links.
  • Sentiment Analysis: Analyzes tweets for subjectivity, polarity, and overall sentiment.
  • Data Visualization: Creates a dashboard using Dash to display tweet information, including sentiment analysis, retweet count, and date.
  • Advanced Data Analysis: Uses PandasGUI for further analysis, including word clouds, scatter plots for sentiment analysis, and bar charts for polarity evaluation.
  • Export Data: Allows exporting data to Excel and CSV formats.

Example Output

Scatter plot of the sentiment of the tweets
image
Line graph of the timeline of the number of likes and retweets
image