Tag Archive: R

Ordnance Survey Terrain 50: merging in R

I’ve written previously about Ordnance Survey’s Terrain 50 data and how you can merge it together. You can download the dataset from the OS’s opendata repo. I’d like to update that post with… Continue reading

GB postcode polygons – open data

Newly published postcode open data!

dplyr, (mc)lapply, for-loop and speed

Want to know whether lapply is quicker than a for-loop? Is there a faster solution? This is the place!

DfT traffic count data in R

I read this tweet thread yesterday, and one of the great things in it was discovering that the Department for Transport release traffic count data for Great Britain. When you download individual observation… Continue reading

Getting started with spatial data in R – EdinbR talk

Slides from January 2018 EdinbR session on spatial data in R.

Network analysis video – 7th Scottish QGIS user group

Network analysis presentation from the 7th Scottish QGIS user group. Featuring Ordnance Survey open data, QGIS, GRASS and R.

Spatial networks – case study St James centre, Edinburgh (2/3)

This is part two in a series I’m writing on network analysis. The first part is here. In this section I’m going to cover allocating resources, again using the St James’ development in Edinburgh as an example. Most excitingly (for me) the end of this post covers the impact of changes in resource allocation.

Celebrating 20 years of CRAN

In April I spoke for the Royal Statistical Society (Glasgow branch) at their event celebrating 20 years of CRAN. The other speakers were Charis Chanialidis and Colin Gillespie. Like most people I find… Continue reading

Spatial networks – case study St James centre, Edinburgh (1/3)

Last year I spent a bit of time learning about routing and network analysis. I created a map of distance from each GB postcode to the nearest railway station. At the time my… Continue reading

RPostgreSQL and schemas

The database PostgreSQL can have different schemas. These work like a window for users, where they get to see specific things within a database, e.g. tables. In this post we’ll look at how… Continue reading