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.

Brian Spiering
  • 20,142
  • 2
  • 25
  • 102
  • 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 Aug 09 '17 at 04:21

1 Answers1

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
  • 20,142
  • 2
  • 25
  • 102