This short post will explain how you can fetch twitter data using twitteR & StreamR packages available in R. In order to connect to twitter API, we need to undergo an authentication process known as OAuth explained in my previous post.
Twitter data can be fetched from twitter in two ways: a) Rest API b) Streaming Api.In today's blog post we shall go through both using Rest API & Stream API.