BaşlayınÜcretsiz Başlayın

Twitter data on the map

It will be interesting to visualize tweets on "#vegan" on the map to see regions from where they are tweeted the most. A brand promoting vegan products can target people in these regions for their marketing.

Remember not all tweets will have the geolocation data as this is an optional input for the users.

The geolocation coordinates that you had extracted in the last exercise has been pre-loaded as vegan_coord.

The library maps has also been pre-loaded for this exercise.

Bu egzersiz

Analyzing Social Media Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Omit rows with missing geo-coordinates in the data frame
vegan_geo <- ___(vegan_coord[,c("___", "___")])

# View the output
head(vegan_geo)
Kodu Düzenle ve Çalıştır