Promoting the use of R in the NHS

NHS-R Blog

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 […]

Violin and density plots in ggplot2

Violin Plots This chart is a combination of a Box Plot and a Density Plo that is rotated and placed on each side, […]

Pareto Chart in ggplot2

Background of Pareto Charts A Pareto chart, named after Vilfredo Pareto, is a type of chart that contains both bars and a line graph, where individual […]

Histogram with auto binning in ggplot2

Histograms (with auto binning) Again, we will use the mtcars dataset and use the fields in that to produce the […]

Diverging Dot Plot and Lollipop Charts – Plotting Variance with ggplot2

Creating the Dot Plot Variance chart The data preparation was used in the previous blog entitled: Diverging Bar Charts – Plotting […]

Diverging Bar Charts – Plotting Variance with ggplot2

Diverging Bar Charts The aim here is to create a diverging bar chart that shows variance above and below an […]

Why Government needs sustainable software too

Unlike most of the 2017/2018 cohort, when I applied to become a fellow of the Software Sustainability Institute, I was […]

R studio shortcuts

I love keyboard shortcuts. I work in R studio and using keyboard shortcuts has saved me a lot of time. […]

The :: operator

Namespace issues Most of the functionality in R comes from additional packages that you load. Sometimes two packages will have […]

Importing and exporting Data

This blog originally appeared in http://gastrodatascience.com   There are a large number of file types that are able to store […]

Upgrading R – version 3.5.0

A new version of R (version 3.5.0) has just been released. Windows users can upgrade R by using the installr […]