Its International Chart Day 2018 and the ARC has teamed up with Deven Wisner of Wisner Analytics to produce a data viz tutorial on how to make a social network map with Twitter data using R and Kumu! The video link and resources are included below. Please participate by viewing the video and playing along. Happy charting.
Here’s a link to the map: https://embed.kumu.io/6b12a2f5a1bca49c96903787a902bb7b#social-network-analysis
Here’s a link to the tutorial video:
Software Resources (all free):
R & R Studio
Use the following script to follow along with the video and pull your own data.
#1 Open R Studio and install the packages you will need to talk with Twitter.
#2 Open the libraries for the packages we just downloaded and installed to mae them available within r.
#3 Now that you have your Twitter interface tools loaded lets tell r who we are on Twitter.
twitter_tokens <- c(
create_token(app = “my_app”,
consumer_key = “insert consumer key from twitter”,
consumer_secret = “insert the consumer secret key from twitter”))
#4 We are now logged into twitter and can access data using r. Lets pull follower data.
ARCeval <- get_followers(“arcevaluation”, n = 75000)