เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Extract geolocation coordinates

Analyzing the geolocation of tweets helps influence customers with targeted marketing.

The first step in analyzing geolocation data using maps is to extract the available geolocation coordinates.

Veganism is a widely promoted topic. It is the practice of abstaining from the use of animal products and its followers are known as "vegans".

In this exercise, you will extract the geolocation coordinates from tweets on "#vegan".

The library rtweet has been pre-loaded for this exercise.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Analyzing Social Media Data in R

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Extract 1000 tweets on #vegan
vegan <- search_tweets("___", n = ___)
แก้ไขและรันโค้ด