How to collect tweets by geo-location?

4

I am extracting tweets on brands for sentiment analysis. I am using twitteR package on R. Is there a specific way by which I can only collect tweets from a location ex NY or Paris or Canada etc. I have tried Geocode but here I have to give lat and long data and the vicinity range.

Dinesh Kumar

Posted 2017-08-09T03:50:22.753

Reputation: 51

I'd use a real database like postgres, and query it with an R library. It'll make short work of such filtering and aggregation. – Emre – 2017-08-09T04:21:04.483

Answers

1

To get location based tweets, you have to specify a location circle with center (lat and long) and radius using reverse_geocode.

There is no way to find tweets by setting a polygon or drawing a border.

Brian Spiering

Posted 2017-08-09T03:50:22.753

Reputation: 10 864