Get nodes from a graphTweets object.

gt_nodes(gt, meta = FALSE)

gt_add_meta(gt, name, source, target)

Arguments

gt

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

meta

Set to TRUE to add meta data to nodes using users_data.

name

Name of column to create.

source, target

Name of column too apply to edge source and target.

Value

An object of class graphTweets.

Functions

  • gt_nodes: Builds nodes

  • gt_add_meta: Add meta data to the nodes. The meta data is taken from the edges.