Blog Archives

Great Maps with ggplot2

February 2, 2012
By
Great Maps with ggplot2

The above map (and this one) was produced using R and g

Read more »

Coming of Age: R and Spatial Data Visualisation

January 10, 2012
By
Coming of Age: R and Spatial Data Visualisation

I have been using R (a free statistics and graphics sof

Read more »

Global Migration Maps

March 17, 2011
By
Global Migration Maps

 Migrations of people have existed for millennia and oc

Read more »

Mapping London’s Population Change 1801-2030

February 16, 2011
By
Mapping London’s Population Change 1801-2030

Buried in the London Datastore are the population estimates for each of the London Boroughs between 2001 – 2030. They predict a declining population for most boroughs with the exception of a few to the east. I was surprised by this general decline and also the numbers involved- I expected larger changes from one year to ...

Read more »

OpenData + R + Google = Easy Maps

January 11, 2011
By
OpenData + R + Google = Easy Maps

The release of the R package “googleVis” has made the production of interactive maps through Google’s Chart Tools a simple task. Ignoring the some basic data manipulation the below map...

Read more »

R interface to Google Chart Tools

January 10, 2011
By

Hans Rosling eat your heart out! It is now possible to interface R statistics software to Google’s Gapminder inspired Chart Tools. The plots below were produced using the googleVis R package and three datasets from the Gapminder website. The first shows the relationship between income, life expectancy and population for 20 countries with the highest ...

Read more »

Boris Bikes/Barclays Cycle Hire Average Journey Times

January 6, 2011
By

The visualisation above shows the average relative duration of Boris Bikers’ weekday journeys over a 4 month period at hourly intervals. For each time step the average journey time (in seconds) from each docking station has been calculated.This information is interesting because it shows the preference for short journeys around the City of London, whilst ...

Read more »

Exporting KML from R

January 2, 2011
By
Exporting KML from R

Google Earth has become a popular way of disseminating spatial data. KML is the data format required to do this. It is possible to load almost any type of spatial...

Read more »

Installing rgdal on Mac OS X

November 2, 2010
By
Installing rgdal on Mac OS X

After running a spatial data analysis with R session today, it became apparent that there are one or two teething problems installing the important rgdal package on Mac OS X operating systems. The usual install.packages(“rgdal”) won’t work. My colleague Jon Reades did some digging around to find this solution. I have tested it and it

Read more »

Maps with ggplot2

September 27, 2010
By
Maps with ggplot2

The ggplot2 package offers powerful tools to plot data in R. The plots are designed to comply with the “grammar of graphics” philosophy and can be produced to a publishable level relatively easily. For users wishing to create a good map without too much thought I would recommend this worksheet. For those without their own

Read more »