graphTweets function

graphTweets visualise Twitter Interactions.

graphTweets visualise Twitter Interactions.

Functions

  • gt_edges - get edges from tweets
  • gt_nodes - add meta-data to vertices
  • gt_co_edges - Co mentions networks
  • gt_dyn - create dynamic graphs
  • gt_collect - collect edges and nodes
  • gt_graph - create graph
  • gt_save - save graph to file

Examples

## Not run: library(rtweet) tweets <- search_tweets("#rstats") library(graphTweets) # simple network tweets %>% gt_edges(screen_name, mentions_screen_name) %>% # get edges gt_nodes %>% # get nodes gt_graph %>% # build igraph object plot(.) ## End(Not run)
  • Maintainer: John Coene
  • License: MIT + file LICENSE
  • Last published: 2020-01-08