Displaying 1 result from an estimated 1 matches for "twttempfram".
Did you mean:
twttempframe
2013 Jul 08
0
"error setting certificate" issue in R-studio
...sue.
>TweetFrame <- function(searchTerm, maxTweets)?
??? {
????? twtList<-searchTwitter(searchTerm,n=maxTweets)
????? #twtList is involved in ?variable? scoping so it only exists within the?
??????? function?
????? # searchTerm needs to be a string so use "#hashtag"
?
????? twtTempFrame<- do.call("rbind", lapply(twtList,as.data.frame))
????? # as.data.frame() coerces each list element into a row
????? # lapply() applies this to all of the elements in twtList
????? # rbind() takes all the rows and puts them together
????? # do.call() gives rbind() all the rows as indi...