GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - datablogger-ml/twitter-analytics: Scraping Twitter Data and Visualising the Trends, Topics and Sentiments

BranchesTags
Open more actions menu

Latest commit

 

History

54 Commits
54 Commits

Folders and files

NameName
Last commit message
Last commit date
.ipynb_checkpoints
.ipynb_checkpoints
 
 
TwitterAppScreenshots
TwitterAppScreenshots
 
 
.DS_Store
.DS_Store
 
 
README.md
README.md
 
 
TweetsUS Elections.json
TweetsUS Elections.json
 
 
Twitter Analytics.ipynb
Twitter Analytics.ipynb
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Twitter Analytics

Project Intro/Objective

The purpose of this project is to Scrape Twitter Data and Visualise the trend, topics and the sentiment, which is helpful in predicting the perception of the general public on some event/commodity.

Methods Used

  • Twitter Scraping
  • Data Visualisation - WordCloud, Topic Modelling
  • Sentiment Analysis
  • Natural Language Processing

Technologies

  • Python
  • Python-Twitter API
  • sklearn
  • Pandas, jupyter
  • matplotlib
  • nltk

Project Description

The cause and effect relationship between impactful news and martket movements can be directly observed during the release of big news/event.eg Even a single Tweet from Trump on oil can cause massive price variations. News information can give the true nature of the market for any topic.

Methods

1. Twitter Scraping

Python-twitter API helps us to scrape the tweets. Tweets can be collected through a search keyword or from specific accounts. With the actual text, we can also get information on number of likes and re-tweet count.

Sample Tweets Format:

2. Data Visualisation

  • WordCloud - It is a visual representation of text data. It displays a list of words, the importance of each beeing shown with different font sizes or colors. It is useful for quickly perceiving the most prominent terms in the corpus.

  • Topic Modelling - It is a method of Unsupervised Classification of documents, similar to clustering on numerical data, which finds natural groups of items (topics).

  • Sentiment Analysis - Sentiment analysis is the automated process of analyzing text data and sorting it into sentiments : positive, negative, or neutral. Using sentiment analysis tools to analyze opinions in Twitter data can help understand how people are talking about certain topics. With more than 321 million active users, sending a daily average of 500 million Tweets, Monitoring Twitter can allow one to understand their audience, keep on top of whatโ€™s being said, and discover new trends in the industry.

Sample Sentiment Analysis:

Getting Started

Step 1: Go to Twitter Developers and sign in with your account

Step 2: Select Create an app and specify the app name and description

Create An App App name and description

Step 3: Once the app is created, go to the Keys and Tokens sections, copy your API keys and generate Tokens

Access Token and keys

Step 4: Download requirements.txt and install on terminal:

pip install -r requirements.txt

Step 5: Follow along the jupyter notebook ๐Ÿ˜€

-- Project Status: Active

Featured Notebooks/Analysis/Deliverables

  • requirements.txt
  • python-twitter Documentation
  • Twitter Sentiment Analysis with Machine Learning

About

Scraping Twitter Data and Visualising the Trends, Topics and Sentiments

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.