This project performs sentiment analysis on real-time data from Twitter using R. It extracts tweets, processes the text, and determines whether the sentiment is positive, negative, or neutral. πππ‘
- Programming Language: R π¦ΈββοΈ
- IDE: RStudio πΌ
- Libraries:
twitteR
,tidyverse
,tm
,syuzhet
,sentimentr
,ggplot2
π - Tools: Twitter API π¦ for data extraction, Natural Language Processing (NLP) π§ for text analysis
- Install R from CRAN π
- Install RStudio from RStudio π»
- Install required libraries using the following command in R:
install.packages(c("twitteR", "tidyverse", "tm", "syuzhet", "sentimentr", "ggplot2"))
sentiment-analysis-real-time/
β
βββ scripts/
β βββ sentiment_analysis.R # Main R script π
β
βββ README.md # This file π