Build Status Build status codecov.io Coverage Status CRAN_Status_Badge CRAN log

gephi.gif

gephi.gif

GraphTweets

Visualise networks of Twitter interactions

Features three functions:

Build edge table and vertices to plot social network.

See NEWS.md for changes.

Documentation

Examples

# load twitteR to get tweets
library(twitteR)
token <- setup_twitter_oauth(consumer_key, consumer_secret, 
                             access_token=NULL, access_secret=NULL)
tweets <- searchTwitter("rstats", n = 200)
tweets <- twListToDF(tweets)

library(graphTweets)

edges <- getEdges(data = tweets, tweets = "text", source = "screenName")
nodes <- getNodes(edges)

# plot
g <- igraph::graph.data.frame(edges, directed=TRUE, vertices = nodes)

plot(g)

Other Projects

See my other projects at http://johncoene.github.io/projects/