Sentiment Analysis of Cryptocurrency Tweets
A simple sentiment analyser for tweets related to cryptocurrencies
Skills
- RStudio
- Plyr
- ggplot2
Sentiment Analysis of Tweets Related to Cryptocurrencies
Packages Required
TwitteR, plyr, stringr, ggplot2, downloadable from CRAN
Prerequisites
R and R Studio
Dataset Description
All of this data is aggregated from Twitter using the TwitteR search api call. Here we search for the term “#Cryptocurrency” and look for the most recent 1500 tweets.(Unfortunately, that is Twitter’s max. free limit) This is raw tweet data as provided by the returned Json file.
Sentiment Analyser Description
This follows the tutorial at http://jeffreybreen.wordpress.com/2011/07/04/twitter-text-mining-r-slides/
The scores are then stored and used to generate graph plots based on sentiment score.
Summary
Here ares some histogram models generated using ggplot based on the sentiment score of the overall dataset.
After which, I applied the same logic for the search term #Bitcoin alone Then we do the same for the term Bitcoin alone.
Likewise for Ethereum
Likewise for Litecoin
Feedback
Contact me for any feedback regarding this project. Always eager to hear from fellow data enthusiasts.
Codebase and License
Here’s the full github repo for this project. This project is licensed under the MIT License - see the LICENSE.md file in the repo for more details.
Acknowledgments
- https://github.com/benmarwick/AAA2011-Tweets