")}return r}function n(t,w,r){var x=h(t,r);var v=a(t);var y,s;if(v){y=d(v,x)}else{return}var q=c(t);if(q.length){s=document.createElement("pre");s.innerHTML=y.value;y.value=k(q,c(s),x)}y.value=i(y.value,w,r);var u=t.className;if(!u.match("(\\s|^)(language-)?"+v+"(\\s|$)")){u=u?(u+" "+v):v}if(/MSIE [678]/.test(navigator.userAgent)&&t.tagName=="CODE"&&t.parentNode.tagName=="PRE"){s=t.parentNode;var p=document.createElement("div");p.innerHTML="
"+y.value+"
hljs.initHighlightingOnLoad(); </script>
Fixed the oAuth process.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",subdir="ThinkToStartR")
In this first ALPHA version the package just includes some functions.
You can call the functions with the ThinkToStart function:
ThinkToStart(FUNCTIONNAME, ... additional parameters)
Twitter Sentiments Wordcloud:
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")
Foursquare Checkin Map:
token <- ThinkToStart("Foursquare_auth",app_name="R_Test",app_id="XXX",app_secret="XXX")
map <- ThinkToStart("Foursquare_map",token)