fast, flexible census tables

Counting patients is hard Blimey. It’s over 3 years since I collaborated with Neil Pettinger on some plots to demonstrate patient flow, using R. What started out as a supposed quick blog post morphed into several weeks of work, a blog post, workshops in Perth and Birmingham, and a... [Read More]

NHSRdatasets meets runcharter

Big up the NHS

Background The NHSRdatasets package made it to CRAN recently, and as it is designed for use by NHS data analysts, and I am an NHS data analyst, let’s take a look at it. Thanks to Chris Mainey and Tom Jemmett for getting this together. Load packages and... [Read More]

Learning Linux - the wrong way

how not to do it

I’ve dabbled with Linux a few times over the years - mainly on expired laptops that have given up the ghost (Win XP), but never stuck at it. Simply, it was too much hassle to try to get to grips with , in the limited time outside work (hah -... [Read More]

data.table by a dummy

very brief intro notes

I like dplyr I’ve used data.table in the past, though didn’t persevere with it enough. My happy safe space is dplyr & ggplot2. I love these packages and use them almost every time I use R. Every so often , I see mentions of cool data.table features and it... [Read More]


A thing what I built

Waffle I didn’t write a blog post in March, because I was busy doing other stuff, but it turns out no one noticed, or maybe they did, and simply didn’t care. Well, I care, because it brought my streak of 20 successive monthly blog posts to an end. Which... [Read More]

A wee look at group_map and group_split in dplyr

Dplyr 0.8.0 launched recently, which you probably already know, but just in case you missed it.. Two new functions have been catching my eye : group_map and group_split. The aim of this post - take a first look at these and try and get a new blog post up on... [Read More]

gganimation for the nation

gganimate hits CRAN

At the NHS_R conference back in October, I showed a few ways of building animations using gifski - I also wrote up the method I used in an earlier post right here. And, the source code for all this stuff is available from my github here. However -... [Read More]

Twins on the up

Are multiple births on the increase? My twin boys turned 5 years old today. Wow, time flies. Life is never dull, because twins are still seen as something of a novelty, so wherever we go, we find ourselves in conversation with strangers, who are intrigued by the whole thing.... [Read More]