Publications by C
Hacker News Religion Poll
Hacker News user post polls from time to time – the following code constructs a bar chart based upon the responses to a recent poll on the stated religious affiliation of Hacker news users (parsed straight from the site). The chart above is as of the date of this post – users may still be voting.library(XML)u=’http://news.ycombinator.com/...
1071 sym 4 img
Ajax using JQuery to Sinatra (and a Barplot using R)
Part of what attracted me to R was the ease and efficiency in using the language for tasks for which it was designed. R is a tool among that can be used to do great things with minimal effort. This post illustrates some other tools and technologies that provide the building blocks for quickly creating web applications. And by adding an extr...
3037 sym 4 img
R and Oracle HR Part I – Set Up and Connect
There has been recent interest in the attention that Oracle has been giving to R. This has been related to the use of Oracle Data Mining which is a paid option to Oracle. This is the first in a series of posts that can be run using the Oracle HR Schema which is available in various versions or Oracle including its free Oracle XE version. The ...
3273 sym 10 img
R and Oracle HR Part II – Plotting a single variable
If you have not done so already, make sure you have R and Oracle setup as described in the previous article. If so, you should be able to create a connection from R and list the tables that are available in the HR schema.library(‘RODBC’)ch sqlTables(ch,schema=’HR’)The HR schema contains Human Resources data for a fictional c...
2815 sym 10 img
World Government Data Store API (R and Ruby)
The UK Guardian Data Blog has great visualizations on the topics of the day – along with with specific references to data sets and online resources in use. You can find out more about the origins and plans of this and related data sites in their first plot post. It is just one of several Guardian data related sites.The World Government Dat...
3580 sym 4 img
World Cup 2010 Statistics Plotted with R
Opta agreed to let the UK Guardian Data Blog publish 2010 World Cup Team and Player statistics. The data is available in a Google Docs spreadsheet. There are two tabs on this spreadsheet – one is PLAYERS the other is TEAM statistics. I chose File -> Download As -> CSV and downloaded the files through a web browser, then moved them to ...
3530 sym 8 img 1 tbl
Hierarchical Visualizations in R and the Javascript InfoVis Toolkit
I love R. It is really a great language and platform for statistical work and graphing. But every technology has its limits – and other tools can be meet different needs. So in this post, I will start with R and move on to the JavaScript InfoVis Toolkit. And I must admit, I can’t say that I know the limits of R. I am reg...
3799 sym 20 img
Maps, Geocoding, and the R User Conference 2010
The R User Conference 2010 is scheduled for July 20-23, 2010. Wanna know where?Although there are more sophisticated methods of mapping with R the maps package makes mapping activities straightforward. A bit of XML and Google Geocoding is enough to highlight the location of this years conference (or any other location of interest to you). ...
2257 sym 8 img
What (Search Engines Think) People Want
R O How G8 U R!Hey, R U there? Having used the R language for awhile now, I would like to let you know that R works – in fact R works really well. If you keep up with R news this should be no surprise…this is, after all…an r blog! R and R alone can accomplish the programming tasks facing you. R is a common letter and searches for a sing...
15073 sym 4 img
Analyze Online R User Conference Data
The R User Conference 2010 will be underway shortly – and what better way to commemorate the event than to blast out some R code related to the conference? HTML tables on websites for the past three years list participants and organizations, and the 2010 version includes country as well. Using the XML package to scrape the pages and th...
4878 sym 10 img