Hello, The function searchTwitter() with the arguments supplied as below would give me a different number of results on different days I run this code. Maybe it is my lack of understanding about what the date arguments are supposed to do in this function, but I would think I should be getting the same tweets? tweets <- searchTwitter('my text search', n = 1000, since = '2013-09-01', until = '2014-08-31') Thanks, Axel. [[alternative HTML version deleted]]
Twitter tweets aren't a stable database. I wouldn't expect the search results to stay stable, as tweets are retweeted, deleted, accounts are closed, privacy settings adjusted, etc. And if there are more than 1000 results, I don't know that twitter is internally ordered so you'd get the same set of results each time you run the same search.> On Sep 7, 2014, at 10:20 AM, Axel Urbiz <axel.urbiz at gmail.com> wrote: > > Hello, > > The function searchTwitter() with the arguments supplied as below would > give me a different number of results on different days I run this code. > Maybe it is my lack of understanding about what the date arguments are > supposed to do in this function, but I would think I should be getting the > same tweets? > > > tweets <- searchTwitter('my text search', > n = 1000, > since = '2013-09-01', > until = '2014-08-31') > > > Thanks, > Axel. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
You are only able to search twitter history for a short period of time. gnip.com and similar companies offer historical tweets for sale. cn On Sunday, September 7, 2014 9:21:34 AM UTC-5, Axel Urbiz wrote:> > Hello, > > The function searchTwitter() with the arguments supplied as below would > give me a different number of results on different days I run this code. > Maybe it is my lack of understanding about what the date arguments are > supposed to do in this function, but I would think I should be getting the > same tweets? > > > tweets <- searchTwitter('my text search', > n = 1000, > since = '2013-09-01', > until = '2014-08-31') > > > Thanks, > Axel. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-h... at r-project.org <javascript:> mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >