title: Scraping tweets with rtweet: How to get geolocations (lookup_coords)?
body: <p>I'm trying to extract tweets from Twitter and plot them into a map using rtweet. I copied some code from the internet. I have everything set up (including Twitter API and Google Maps API). The following code works just fine:</p>
  
  <pre><code>library(rtweet)
  rt &lt;- search_tweets("corona", include_rts=FALSE, "lang:en", geocode = lookup_coords("usa"), n = 10000, type="mixed")
  
  # create lat/lng variables using all available tweet and profile geo-location data
  rt &lt;- lat_lng(rt)
  
  # plot map
  par(mar = c(0, 0, 0, 0))
  maps::map("world", regions="usa", lwd = .25)
  
  # plot lat and lng points ontomap
  with(rt, points(lng, lat, pch = 20, cex = .75, col = rgb(0, .3, .7, .75)))
  </code></pre>
  
  <p>However, as soon as I try to plot another country it doesn't work. For example, if I try to plot the same search term, but this time I want to have a map of the UK this doesn't work:</p>
  
  <pre><code>rt &lt;- search_tweets("corona", include_rts=FALSE, "lang:en", geocode = lookup_coords("uk"), n = 10000, type="mixed")
  
  # create lat/lng variables using all available tweet and profile geo-location data
  rt &lt;- lat_lng(rt)
  
  # plot map
  par(mar = c(0, 0, 0, 0))
  maps::map("world", regions="uk", lwd = .25)
  
  # plot lat and lng points ontomap
  with(rt, points(lng, lat, pch = 20, cex = .75, col = rgb(0, .3, .7, .75)))
  </code></pre>
  
  <p>The problem obviously is that</p>
  
  <pre><code>    rt &lt;- search_tweets("corona", include_rts=FALSE, "lang:en", geocode = lookup_coords("uk"), n = 10000, type="mixed")
  </code></pre>
  
  <p>results in an empty data frame. The same happens with other countries. Does anybody have an idea why? Or does anybody know of another way doing this? Help would be much appreciated! :)</p>