MulaiMulai sekarang secara gratis

Preparing data for a retweet network

A retweet network is a network of twitter users who retweet tweets posted by other users.

People who retweet on travel can be potential players for broadcasting messages of a travel portal.

In this exercise, you will prepare the tweet data on #travel for creating a retweet network.

The tweet data frame has been pre-loaded as twts_travel.

Latihan ini adalah bagian dari kursus

Analyzing Social Media Data in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Extract source and target vertices from the tweet data frame
rtwt_df <- twts_trvl[, c("___" , "___" )]

# View the data frame
head(___)
Edit dan Jalankan Kode