Twitter follower map

40 views
Skip to first unread message

Yanchang Zhao

unread,
May 6, 2013, 8:37:29 AM5/6/13
to rdata...@googlegroups.com
Thanks to the twitterMap() function, it is now very very simple to produce a map of Twitter followers.

See a follower map of @RDataMining at http://www.rdatamining.com/examples/social-meida-analysis, which is produced with two lines of R code below.

> source(“http://biostat.jhsph.edu/~jleek/code/twitterMap.R”)
> twitterMap("RDataMining", fileName=”twitterMap.pdf”, nMax=1500)

Note that Twitter API requires authentication. You need to follow instructions in "Section 3 - Authentication with OAuth" in the twitteR vignettes on CRAN <http://cran.r-project.org/web/packages/twitteR/vignettes/twitteR.pdf> to complete authentication before running the code above.

See more details on how to produce a Twitter follower map at http://simplystatistics.tumblr.com/post/14568185310/an-r-function-to-map-your-twitter-followers
Reply all
Reply to author
Forward
0 new messages