Promoting the use of R in the NHS

NHS-R Blog

rforhealthcare.org – A free online resource for all your R related healthcare needs

Down in the South West of England we at the PenCHORD team of the NIHR CLAHRC South West Peninsula have […]

Moving on with the plan…And using R to do it! My personal experience…

When Mohammed asked if I would be interested in doing a blog on how “we”, Information and Analytics in NHS […]

Format ONS spreadsheet

Background A Public Health consultant colleague Ian Bowns (@IantheBee) created a report to monitor mortality within the Trust and he […]

Using R to track NHS winter pressures

Every Thursday during winter, roughly from December to March, NHS Digital releases a week’s worth of hospital performance data, known as […]

Animating a Graph Over Time in Shiny

                        I was interested in creating an animated graph […]

A run chart is not a run chart is not a run chart

Understanding variation using runs analysis Run charts are simple and powerful tools that help discriminate between random and non-random variation […]

A simple function to create nice correlation plots

The problem I was working with a dataset where I wanted to assess the correlation of different variables in R. […]

From script-based development to function-based development and onwards to Package Based development: part 2

At the NHS R Conference, I suggested to people that they should embrace the idea of package-based development rather than […]

Roadmap to collaborative working using R in the NHS: Part I- Workflows

We finally have a tool that is data independent. R allows the scripting of a data science methodology that we […]

But this worked the last time I ran it!

A common scenario: you are new to a programming language, chuffed that you’ve done a few bits and progressing well. […]

Local Public Health joins the paRty

Having recently attended an R meetup in Birmingham, hearing of various user groups and hackathons that take place around certain […]

Thoughts on the NHS-R conference

It’s been a few weeks since the first NHS-R conference was held in Birmingham. I co-presented a couple of workshops […]

NHS-R Conference: was it worth it?

This blog was written by Zoe Turner, Senior Information Analyst at Nottinghamshire Healthcare NHS Foundation Trust. Soon after I started […]

Text Mining – Term Frequency analysis and Word Cloud creation

Text Mining – Term Frequency analysis and Word Cloud creation in R Analysing the pre-conference workshop sentiments Loading in the […]

NHS-R Community Conference: My experience of the day

I went to the NHS-R Community Conference in Birmingham on Tuesday. It was great. Here are three observations about it. […]

From script-based development to function-based development and onwards to Package Based development

At the NHS R Conference, I suggested to people that they should embrace the idea of package-based development rather than […]

Installing R and R studio

Installation Instructions (Part 1 of 2) Windows Users To Install R: Open an internet browser and go to r-project.org. Click the […]

A simple function to install and load packages in R

I was starting to despair at the amount of packages I end up using during the task of transforming, cleaning, […]

NHS open source public datasets – creating realistic synthetic datasets

This blog is an initial attempt to garner interest in a project to create NHS synthetic datasets in a range […]

How to extrapolate data from data

There are many occasions when a column of data needs to be created from an already existing column for ease […]

Evolution of the R user

      Adapted from source: https://www.r-project.org/logo/ The beginning My journey with R began when a colleague of mine said […]

Even Simpler SQL

I’ve had some feedback on the last post, and rather than repeat the same thing multiple times, I’m going all @drob, […]

Keep data tidy: A plea to data publishers and developers

knitr::opts_chunk$set(echo = TRUE, message = FALSE, cache = TRUE, warning = FALSE) if(!require("pacman")) install.packages("pacman") library(pacman) p_load(readxl, tidyverse, corrplot, tmap, geojsonio, […]

simpler SQL with dplyr

comparing dplyr with SQL nested queries Following on from my last post, where I demonstrated R to some first time […]