Is there a way to limit the tweets by date so that I can do multiple calls to get the required number of tweets? For example, something in the lines of:
police<-userTimeline('@**nswpolice',n=1000,since="01/12/2012", to="01/01/2013") #first call police<-userTimeline('@**nswpolice',n=1000,since="01/11/2012", to="01/12/2012") #second call On Wed, Jan 9, 2013 at 11:29 AM, Jeff Gentry <gen...@hexdump.org> wrote: > On Wed, 9 Jan 2013, Sachinthaka Abeywardana wrote: > >> I am trying to download as many tweets as possible (say 1000). The >> documentation states that the limit is 3200. >> However when I run >> police<-userTimeline('@**nswpolice',n=1000) it returns random amounts. >> When I >> ran it today I got 144, yesterday it was around 300. >> > > The most likely explanation is that you're bumping into the API's > limitation for time. The Twitter API typically will only give you results > that go back for a few days, regardless of what you request. > [[alternative HTML version deleted]] ______________________________________________ R-help@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.