graphTweets {graphTweets} | R Documentation |
graphTweets visualise Twitter Interactions.
Description
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)
[Package graphTweets version 0.5.3 Index]