Get edges from data.frame of tweets.
gt_edges(data, source, target, ..., tl = TRUE)gt_preproc_edges(gt, func)
gt_edges_bind(gt, source, target, ..., tl = TRUE)
gt_co_edges(data, col, tl = TRUE)
gt_co_edges_bind(gt, col, tl = TRUE)
Data.frame of tweets, usually returned by the rtweet
package.
Author of tweets.
Edges target.
any other column name, see examples.
Set to TRUE
to convert source
and target
to lower case (recommended).
Function to pre-process edges, takes edges as constructed by gt_edges
, includes columns named source
target
and others passed to the three dot construct.
Column containing co-mentions.
gt_edges
: Build edges
gt_preproc_edges
: Pre-process edges
gt_edges_bind
: Append edges