O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

First, sign up a Twitter developer account (https://apps.twitter.com) and create a sample application to generate (API keys and credentials) under the Keys and Access Token tab, which we will require later to fetch real-time data from Twitter. Additionally, make sure that you have the following packages installed:

install.packages(c("twitteR","igraph","dplyr"))

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required