Blog Archives

Build a SPAM filter with R

September 8, 2014
By
Build a SPAM filter with R

You can find the complete code on github: https://github.com/JulianHill/R-Tutorials/blob/master/spam_class_r.r   Introduction: The topic Machine Learning gets more and more important. The number of data sources grows everyday and it makes it hard to get... The post Build a SPAM filter with R appeared first on ThinkToStart.

Read more »

Visualize Your Foursquare Check-ins with R

May 29, 2014
By
Visualize Your Foursquare Check-ins with R

You can use this tutorial in the ThinkToStartR package with: token <-ThinkToStart(“Foursquare_auth”,app_name=”R_Test”,app_id=”XXX”,app_secret=”XXX”) map <- ThinkToStart(“Foursquare_map”,token) Hey R-Fans! You sure all heard of Foursquare. It has more than 45 million users but it´s potential is not recognized by much people. So today I want to show you how easy it is to get your check-in history and visualize …

Read more »

Cluster your Twitter Data with R and k-means

May 13, 2014
By
Cluster your Twitter Data with R and k-means

Hello everbody! Today  I want to show you how you can get deeper insights into your Twitter followers with the help of R. Because I just completed the course “Machine Learning” by Prof. Andrew Ng on Coursera I will use the k-means algorithm and cluster my Twitter followers by the ratio of their followers and how …

Read more »

ThinkToStartR package

March 23, 2014
By
ThinkToStartR package

***ALPHA*** I just started to work on my new package for this blog. This R package will include the code of all my tutorials and will make it accessible with easy function calls. Install To install the ALPHA version of the package open up R and use: Usage In this first ALPHA version the package …

Read more »

Create Twitter Wordcloud with Sentiments

March 23, 2014
By
Create Twitter Wordcloud with Sentiments

You can use this tutorial in the ThinkToStartR package with: ThinkToStart(“SentimentCloud”,”KEYWORD”,# of tweets,”DATUMBOX API KEY”) Hey everybody, some days ago I created a wordcloud filled with tweets of a recent german news topic. And a lot of people asked me if I have some code how I created this cloud. And so here it is. …

Read more »

Using Google BigQuery with R

March 10, 2014
By
Using Google BigQuery with R

Hey everybody, this tutorial is about combining two great and powerful tools: R and Google BigQuery. Big Query: So but what is BigQuery? I think Google describes it very well on the developers page: “Querying massive datasets can be time consuming and expensive without the right hardware and infrastructure. Google BigQuery solves this problem by …

Read more »

Add a background png image to ggplot2

February 16, 2014
By
Add a background png image to ggplot2

Hey everybody, this is just a short post but I found it very useful. I want to show you how to add images as a background to your ggplot2 plots. To do so we need the packages png and grid Btw, this is just a cool and fast way to import different packages at once. …

Read more »

Analyze your Google+ Posts with R [Update]

December 28, 2013
By
Analyze your Google+ Posts with R [Update]

Hey everybody, today I show you how you can start working with the Google+ API and R. We create a personal API key, get our own stats and plot them in a nice looking graph. Get the API Key You can get our API key on the Google Developer console here: https://code.google.com/apis/console There you can see …

Read more »

Build your own Twitter Archive and Analyzing Infrastructure with MongoDB, Java and R [Part 2] [Update]

December 9, 2013
By
Build your own Twitter Archive and Analyzing Infrastructure with MongoDB, Java and R [Part 2] [Update]

Hello everybody, in my first tutorial I described how you can build your own MongoDB and use a JAVA program to mine Twitter either via the search function and a loop or via the Streaming API. But till now you just have your tweets stores in a Database and we couldn´t get any insight in our …

Read more »

Analyze Facebook with R

November 19, 2013
By
Analyze Facebook with R

Hello everybody! Today I found something very cool: There is a R package for mining Facebook. For Twitter there are different, but this is the first one really working well with Facebook. So I wanted to test it and was amazed about how easy it works. Setup: The first thing we need is a Facebook …

Read more »