Publications by James

Mapping Flows in R

30.03.2015

Last year I published the above graphic, which then got converted into the below for the book London: The Information Capital. I have had many requests for the code I used to create the plot so here it is! The data shown is the Office for National Statistics flow data. See here for the latest version. The file I used for the above can be downloa...

2905 sym 4 img

Mapping (historic) tracks in ggplot2

10.10.2016

This tutorial was first published in “Geocomputation a Practical Primer“. Here is a more complex example showing how to produce a map of 18th Century Shipping flows. The data have been obtained from the CLIWOC project and they represent a sample of digitised ships’ logs from the 18th Century. We are using a very small sample (link below) of...

3927 sym R (1507 sym/7 pcs)

Mapping 5,000 Years of City Growth

06.03.2017

I recently stumbled upon a great dataset. It’s the first to provide comprehensive data for world city sizes as far back as 3700BC. The authors (Meredith Reba, Femke Reitsma & Karen Seto) write: How were cities distributed globally in the past? How many people lived in these cities? How did cities influence their local and regional environments...

3184 sym R (5118 sym/6 pcs) 4 img

10 Million Dots: Mapping European Population

23.03.2017

Dot density maps are an increasingly popular way of showing population datasets. The technique has its limitations (see here for more info), but it can create some really nice visual outputs, particularly when trying to show density. I have tried to push this to the limit by using a high resolution population grid for Europe (GEOSTAT 2011) to ...

2774 sym R (647 sym/3 pcs) 2 img

Population Lines: How and Why I Created It

27.04.2017

Thanks to the power of Reddit the “Population Lines” print (buy here) I created back in 2013 has attracted a huge amount of interest in the past week or so (a Europe only version made by Henrik Lindberg made the Reddit front page). There’s been lots of subsequent discussion about it’s inspiration, effectiveness as a form of visualisatio...

3337 sym R (2127 sym/1 pcs) 4 img

Spinning Globes With R

16.05.2017

It has been a long held dream of mine to create a spinning globe using nothing but R (I wish I was joking, but I’m not). Thanks to the brilliant mapmate package created by Matt Leonawicz and shed loads of computing power, today that dream became a reality. The globe below took 19 hours and 30 processors to produce from a relatively low resolut...

1540 sym R (1895 sym/1 pcs) 2 img

Joy Division, Population Surfaces and Pioneering Electronic Cartography

28.07.2017

There has been a resurgence of interest in data visualizations inspired by Joy Division’s Unknown Pleasures album cover. These so-called “Joy Plots” are easier to create thanks to the development of the “ggjoy” R package and also some nice code posted using D3. I produced a global population map (details here) using a similar techni...

3703 sym 12 img

Point Pattern Analysis using Ecological Methods in R

12.12.2017

Here is a quick example for how to get started with some of the more sophisticated point pattern analysis tools that have been developed for ecologists – principally the adehabitathr package – but that are very useful for human data. Ecologists deploy point pattern analysis to establish the “home range” of a particular animal based on the...

3221 sym R (1938 sym/8 pcs) 8 img

How the Victorians Mapped London’s Cholera

02.03.2019

It is, of course, John Snow who is credited with using maps to demonstrate that the clusters of deaths from cholera in London’s Soho during London’s 1854 outbreak were caused by contaminated water. This marked a major shift in thinking away from the disease being transmitted through dirty air: the more widely accepted theory at the time. Howe...

3769 sym 24 img