Get edges from data.frame of tweets.

gt_edges(data, source, target, ..., tl = TRUE)

gt_edges_bind(gt, source, target, ..., tl = TRUE)

gt_co_edges(data, col, tl = TRUE)

gt_co_edges_bind(gt, col, tl = TRUE)

Arguments

data

Data.frame of tweets, usually returned by the rtweet package.

source

Author of tweets.

target

Edges target.

...

any other column name, see examples.

tl

Set to TRUE to convert hashtags to lower case.

gt

An object of class graphTweets as returned by gt_edges and gt_nodes.

col

Column containing co-mentions.