4.17 X-Exercise: Twitter’s streaming API

Above in Section @ref(#tweets-geolocation) we visualized tweets in the U.S. on a map. The idea of the present exercise is to do the same for Switzerland.

  1. Find two pairs of coordinates (longitude and latitude) that indicate the southwest corner AND the northeast corner of Switzerland (Tip: Use Google Maps).
  2. Collect the tweets that are published in this zone for seconds.
  3. Create a map that visualizes where those tweets have occurred.