LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Analyzing Social Media Data in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

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

# View the data frame
head(___)
Code bearbeiten und ausführen