Skip to content

R for Journalists

Unlock the power of R

  • What Is R?
  • R for Rob
  • GitHub
  • Twitter
  • Etsy
  • Home
  • 2016
  • October
  • 14
  • How the North Has the Worst Mental Health in England

How the North Has the Worst Mental Health in England

Posted on October 14, 2016October 14, 2016 By Rob
See

My colleagues and I at Trinity Mirror ranked mental health around England on Monday for World Mental Health Day.

We aggregated four datasets – depression, contact with mental health services, the recovery rate from anxiety and depression and antidepressant prescriptions – to produce a mental health ranking for all 209 Clinical Commissioning Groups (CCGs) in England.

From analysing the data, it’s clear that the North of England has a serious problem with mental health.

Mental health in Greater Manchester really is awful. Look, and try for yourself: https://t.co/C9jduJxSKl #WMHD #WorldMentalHealthDay pic.twitter.com/qNU9H3sSTr

— Rob Grant (@robgrantuk) October 10, 2016

Eighteen out of the bottom 20 areas are all in the North.

Thanet in Kent has the worst mental health in the South of England, but it’s only 36th overall.

This is one way of showing how much worse things are in the North:

mental_health6

Here is the R code behind it:

data <- read.csv("iapt_recovery.csv")

#plot graphic
ggplot(data, aes(x=Rank, y = Region, color = Region))
+ geom_point(size=10.5, alpha = 0.65)
+ ggtitle("The North has the worst
\n mental health in England")
+ labs(x="Better mental health ->", y ="") 

#formatting
+ theme(plot.title = element_text(size = 70),
 legend.title = element_text(size = 18), 
 axis.title.x = element_text(size = 50),
 axis.text.y = element_text(size = 44),
 legend.text = element_text(size = 18), 
 axis.ticks.x = element_blank(),
 axis.text.x = element_blank()) 

#hide legend
+ guides(color = FALSE, size = FALSE)

The main new things to spot here from before are the alpha aesthetic, which controls the opacity of the points and the ‘\n’ in the title.

This splits the title into a more manageable two lines. This is very useful for social media because it makes the title more likely not to be cut off by Twitter’s image sizing.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Related

Tags: dataviz ggplot2 journalism mental health rstats

Post navigation

❮ Previous Post: Visualising House Prices by Postcode in Leeds
Next Post: The History of Strikes in Britain, Told Using Line Plots and Annotations ❯

Recent Posts

  • I’ve moved my blog over to Substack
  • How to plot a large rural area using Ordnance Survey data in R
  • Check the COVID-19 vaccination progress in your area
  • Let R tell you what to watch on Netflix
  • Sentiment analysis of Nineteen-Eighty-Four: how gloomy is George Orwell’s dystopian novel?

Archives

  • April 2022
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • April 2018
  • March 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016

Categories

  • Geospatial data
  • Landmark Atlas
  • Learn
  • See
  • Seen Elsewhere
  • Site
  • Uncategorized

Copyright © 2025 R for Journalists.

Theme: Oceanly by ScriptsTown

 

Loading Comments...