search for: searchtwitt

Displaying 11 results from an estimated 11 matches for "searchtwitt".

Did you mean: searchtwitter
2013 Nov 09
0
Problem while using "searchTwitter" function in TwitteR package
Hi, I am data mining from twitter using the twitteR package but I am facing a problem mining statuses. A lot of times the status does not return the desired number of statuses but returns only a specific number. Also, this number keeps on varying for exactly the same arguments ( No, its not that more statuses were put up during that time), it even decreases sometimes. Is there some logic to how
2012 Aug 14
1
twitteR location?
Hi all, Is it possible to get the latitude and longitude of the location of a tweet? If I do tweets<- searchTwitter("#obama", n=200) #get tweets df <- twListToDF(tweets) #converts to data frame for ease of viewing it does not seem to be getting the location of where that tweet was posted. >From what I read from the twitter API this is possible? Thanks, Sachin [[alt...
2012 Oct 25
2
Minería de texto
Cordial Saludo Actualmente estoy realizando una función para gráficar una nube de palabras el código que tengo es el siguiente: library(twitteR)library(tm)library(wordcloud)library(RXKCD)library(RColorBrewer) tweets=searchTwitter(''@afflorezr'', n=1500) generateCorpus= function(tweets,my.stopwords=c(),min.freq){ #Install the textmining library require(tm) require(wordcloud) tw.df=twListToDF(tweets) RemoveAtPeople <- function(x){gsub("@\\w+", "",x)} df<- as.vector(sapply(tw...
2013 Dec 20
2
Problemas con "encoding"
...R2HTML_2.2.1 formatR_0.10 [21] svSocket_0.9-55 loaded via a namespace (and not attached): [1] memoise_0.1 parallel_3.0.2 plyr_1.8 slam_0.1-30 stringr_0.6.2 [6] svMisc_0.9-69 tcltk_3.0.2 tools_3.0.2 Utilizando las mismas funciones para descargar los tweets (userTimeline y searchTwitter, especificamente), en el primer sistema uno de los mensajes se observa como "cuánto espera que suba el salario mínimo para el próximo año" mientras en el segundo sistema, este es "‚cu„nto espera que suba el salario m„nimo para el pr„ximo a„o" Nota: a veces los simbolos ,...
2013 Dec 21
1
Problemas con "encoding"
...ded via a namespace (and not attached): >> [1] memoise_0.1 parallel_3.0.2 plyr_1.8 slam_0.1-30 >> stringr_0.6.2 >> [6] svMisc_0.9-69 tcltk_3.0.2 tools_3.0.2 >> >> >> Utilizando las mismas funciones para descargar los tweets (userTimeline y >> searchTwitter, especificamente), en el primer sistema uno de los mensajes >> se observa como >> >> "cuánto espera que suba el salario mínimo para el próximo año" >> >> mientras en el segundo sistema, este es >> >> ",cu"nto espera que suba el salario...
2011 Jul 23
0
Question about output from twitteR package
...SID is also always blank.) The Twitter messages themselves suggest that there are some replies in the sets that I'm obtaining, so I now in theory that these fields should not be blank for every message. Here is some code and output to make this clearer: library(twitteR) library(plyr) tweets = searchTwitter("#Rstats", n=200) tweets[[4]]$getText() [1] "RT @kdnuggets: Great post on using parallel processing with R and HHP $3M competition http://bit.ly/rcfztQ #rstats #hhp #datamining" tweets[[4]]$getScreenName() [1] "dichika" tweets[[4]]$getReplyToSN() character(0) tw...
2012 Feb 26
2
tm_map help
...m_map. Has anyone had/seen this error before? The code I have is shown below and this error only occurs with #qantas, hashtags like #asx, #obama work ok. Appreciate any help. Thanks, Sachin library(twitteR) library(tm) library(wordcloud) hashTag<-function (hashTag, minFreq){ tweets<- searchTwitter(hashTag, n=200) df <- do.call("rbind", lapply(tweets, as.data.frame)) myCorpus <- Corpus(VectorSource(df$text)) myCorpus <- tm_map(myCorpus, function(x) iconv(enc2utf8(x), sub = "byte")) myCorpus <- tm_map(myCorpus, tolower) myCorpus <- tm_map(myCorpus, removeP...
2012 Nov 08
1
twitteR return error message
...################################ #Error in function (type, msg, asError = TRUE) : # SSL certificate problem, verify that the CA cert is OK. Details: #error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed ###################################################### test<-searchTwitter("lta",n=1000,lang="en",since='2012-01-01', until='2012-11-02' ) ################# Error Message 2 ################################ #Error in .self$twFromJSON(out) : # Error: Malformed response from server, was not JSON ## if change n=100, it wi...
2013 Jul 08
0
"error setting certificate" issue in R-studio
...quot;cacert.pem") with>credential$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")) I saw recommended on Stack Overflow but it didn't fix the issue. >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...
2013 Dec 21
0
Problemas con "encoding"
...svSocket_0.9-55 > > loaded via a namespace (and not attached): > [1] memoise_0.1 parallel_3.0.2 plyr_1.8 slam_0.1-30 > stringr_0.6.2 > [6] svMisc_0.9-69 tcltk_3.0.2 tools_3.0.2 > > > Utilizando las mismas funciones para descargar los tweets (userTimeline y > searchTwitter, especificamente), en el primer sistema uno de los mensajes > se observa como > > "cuánto espera que suba el salario mínimo para el próximo año" > > mientras en el segundo sistema, este es > > "‚cu„nto espera que suba el salario m„nimo para el pr„ximo a„o"...
2012 May 22
1
Problem with Extracting Hash Tagged Words from Tweets
...but cannot with more than one tweet at a time except I manually remove all regular expressions and tweets numbers such as [[1]] and [1.] I want to automatically extract all #words in large number of tweets at a go. This is what I have done so far by removing all regular expressions manually: > searchTwitter("#Portsmouth", n=20) [[1]] [1] "marymaryw: Get an insight into how journalists operate at The News by following #dayatthenews today #pompeyhacks #portsmouth #southsea" [[2]] [1] "VouchAR_Ports: £5 instead of £60 for 1 month of unlimited fitness classes at Outdoor Fitness...