r - Twitter mining - how many API 'get-requests' am I making? -


i using r packahe twitter pull tweet information twitter api. log in via oauth follows:

setup_twitter_oauth(consumerkey, consumersecret, accesstoken, accesstokensecret) 

this works fine. use function searchtwitter information 15 search terms (smaller example below) using following loop:

searchterms <- c(`term1` = "barrack obama",                  `term2` = "donald duck")  for(i in 1:length(terms)) {      raw_tweets[[i]] <- searchtwitter(searchterms[i], n = 99999,                                      since = as.date(sys.time()),                                      lang = "en", resulttype = 'recent') } 

this work - timed out several times during process (this shorter example won't!) , need wait "15 minutes minus time taken use alotted 180 requests"

i under impression making 15 requests , data in 1 go.

what missing? 1 day count 1 request?

this shows me limits on running connection api:

my_limits <- twitter::getcurratelimitinfo() 

the value seems affected (from 64 categories) of /search/tweets:

> my_limits[61,]        resource         limit   remaining   reset   61   /search/tweets   180     180         2016-02-05 21:54:57 

i can't find information on dev website regarding constitutes one use of resource - neither can find in the source code of package helps me.

as using function , not familiar actual api interface through json cannot provide more information.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -