I used the twitteR
package to extract data from Twitter API, and now I try to filter data by country name.
Most geocode packages are designed for inputting the real address and returning the corresponding geocode, but my needs are just the opposite.
For example, when I input c(38.897957, -77.036560)
, the result is "Whitehouse, D.C., U.S."