Get startedGet started for free

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.

This exercise is part of the course

Analyzing Social Media Data in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

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

# View the data frame
head(___)
Edit and Run Code