View on GitHub

twitter-Sentiment-Analysis

A Simple Approach to Twitter Sentiment Analysis in R Programming Language.

Twitter Sentiment Analysis using R & Shiny WebApp

A Simple Approach to Twitter Sentiment Analysis in R Programming Language

This project is on “Twitter Sentiment Analysis using R” is a sentiment analysis project based on big data analytics. This project will help us to analyze sentiment from Twitter generated text data. Which will be able to show the sentimental state for a person or a specific topic or whatever we want.

The aim for this project is to build up an application which will be able to connect nontechnical people to the field of data mining. Where using simple user interface they will be able to create a report based on their search keyword. This application is very simple and easy to use. So it will be comfortable for everyone to use it.

Shiny

This project was built using Shiny WebApp. Shiny is an R package that makes it easy to build interactive web apps straight from R. You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards. You can also extend your Shiny apps with CSS themes, htmlwidgets, and JavaScript actions.

In Shiny App, there are 2 types of creating GUI Based Web Applications : 1) Single-file (app.R) 2) Multi-file (ui.R,server.R)

This project is Multi-file type, which contains 2 separate files for Front-End & Back-End Development. ui.R is for Front-End & server.R is for Back-End.

Prerequisites

Prerequisites for this project are :

Twitter API
R Binary
An IDE for R Programming (RStudio)
Shiny & Plotrix (R Libraries)
Positive & Negative Words List (To compare Tweets for Sentiment)

Steps to execute this program are :

1. Search input & Location Selection (By default location is set to Worldwide)

Alt text

2. Word Cloud Formation

Alt text

3. Plotting Histogram of Sentiments

Alt text

4. Pie Chart for Sentiment Percentage

Alt text

5. Table of Analyzed Tweets associated with the searched Hashtag

Alt text

6. Barplot of Top 20 Users who used that Hashtag

Alt text

7. Twitter Handle Analysis (Hashtag Frequencies by a particular User)

Alt text

Contributors