Quantcast
Channel: r software hub
Viewing all articles
Browse latest Browse all 1015

Setting up the Twitter R package for text analytics

$
0
0

By nphard

The Twitter R package by Jeff Gentry is a great way to get started in Text Analytics. This tutorial is about how to get setup to pull twitter data into R so that you can do some text analytics with it. Basically it is only the first step of getting data in a text analytics Workflow. I should also give a shout out here to Ted Kawartler for getting me interested in learning more about text analytics.

The first thing you need to do is downloadd the twitteR package and make it available in your R session.

library(twitteR)

Now on the Twitter side you need to do a few things to get setup if you have not done them already. I will go through this step by step so no one gets lost. It drives me crazy when people go too fast on the setup so I can’t use the tool.


You need to have a twitter account. if you do not have one go to http://twitter.com/signup and set one up. Also you need to have a modile number as part of this account.

Now that you have created a twitter account you need to go to https://apps.twitter.com and sign on with your twitter account.

Once you have signed in you should see the following screen, and simply click on the button that says “Create New App”.

Once you click on the “Create New App” button you will go to the Create an Application screen. There are three fields, a click box and a button you need to click on this page. The three fields are Name, Description and Website. The name of the application must be unique so this may take a few tries. The description needs to be at least 10 character long, and put in a …read more

Source:: r-bloggers.com


Viewing all articles
Browse latest Browse all 1015

Trending Articles