I just started to work on my new package for this blog. This R package will include the code of all my tutorials and will make it accessible with easy function calls.
To install the ALPHA version of the package open up R and use:
require(devtools) #install if necessary (install.packages("devtools") dev_mode(on=T) install_github("ThinkToStartR",username="JulianHill")
In this first ALPHA version the package just includes the functions for the Twitter authentication and for creating the sentiment cloud I described here.
You can call the functions with the ThinkToStart function:
ThinkToStart(FUNCTIONNAME, ... additional parameters) library(ThinkToStart) ThinkToStart("TwitterAuth",api_key="yourAPIKEY",api_secret="yourAPISECRET")
Now you can create a sentiment cloud with:
ThinkToStart("SentimentCloud","iphone",30,"YOUR DATUMBOX API KEY")