tweetr
is a R package for text analysis and sentiment analysis on tweets. The package will allow you to extract tweets from Twitter, visualize user habit on tweet posting, and apply sentiment analysis to the data.
get_tweets
:
.Renviron
file in the root directory.plot_timeline
:
plot_hashtags
:
sentiment_analysis
:
visualize_sentiment
:
You can install the released version of tweetr from CRAN with:
install.packages("tweetr")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("UBC-MDS/tweetr")