Tag Archive: R

I fell out with tapply and in love with dplyr

dplyr is much more useful than tapply, read on to find out why.

Advertisements

Monitoring electricity use

Find out how to use R to summarise electricity use by hour or day.

Many reports from 1 RMarkdown file

I was at the EdinbR talk this week by the RStudio community lead – Curtis Kephart. It was really interesting, but I disagree with his suggestion to point and click different parameters when… Continue reading

Presenting survey data

Use R to present findings from likert questions in surveys.

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.