Description Usage Arguments Details Author(s) Examples
This function converts Excel worksheet containing a Crimson Hexagon data export to a directed graph. Nodes are named after Twitter handles (including the '@' prefix) and edges point from a retweeter to a retweetee.
1 | ws_to_graph(ws)
|
ws |
Data frame returned, for example, by get_ws() |
TODO: it might be handy to include the ability to build a graph from mentions as well, rather than just retweets.
Craig Jolley, cjolley.usaid@gmail.com
1 2 3 | library(dplyr)
g <- sample_tweets %>%
ws_to_graph()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.