title: How to search tweets efficiently with R (popular tweets first)?
body: <p>With the package twitteR, it is possible to search tweets as follows: </p>
  
  <pre><code>tweets &lt;- searchTwitter("term", n=100,lang="en",resultType="recent",
                          since="2016-06-10", until="2016-06-26")
  </code></pre>
  
  <p>When the <code>resultType="recent"</code>  we can get the big number of tweets, but they are ranked with created time, so we begin with a lot of <code>2016-06-25 23:59:59</code>.</p>
  
  <p>I wanted to search for popular tweets first, so I use <code>resultType="popular"</code> :</p>
  
  <pre><code>tweets &lt;- searchTwitter("term", n=100,lang="en",resultType="popular",
                          since="2016-06-10", until="2016-06-26")
  </code></pre>
  
  <p>But then I got this warning : </p>
  
  <pre><code>Warning message:
  In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit = retryOnRateLimit,  :
    100 tweets were requested but the API can only return 93
  </code></pre>
  
  <p>I understand that Twitter limit the resquests, but since they can return 100 tweets in the order of created time, I hoped that I could get the same number of tweets in the order of popularity. Apparently it is not true.</p>
  
  <p>Or maybe I didn't use the function in right way.</p>
  
  <p>So I would like find a way to search tweets efficiently: </p>
  
  <ul>
  <li>How to get more popular tweets, in a day ?</li>
  <li>How to specify the an hour for the search, for example 10am ? so that they are not tweeted at <code>2016-06-25 23:59:59</code>, which can have a bias.</li>
  <li>Maybe we have to pay, in order to get more tweets and more information ? For example, I noticed that my tweets are never geocoded.</li>
  </ul>