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.
Cet exercice fait partie du cours
<cours>Analyzing Social Media Data in R</cours>Exercice interactif pratique
Essayez cet exercice en complétant ce code d’exemple.
# Extract source and target vertices from the tweet data frame
rtwt_df <- twts_trvl[, c("___" , "___" )]
# View the data frame
head(___)