Skip to content

R for Journalists

Unlock the power of R

  • What Is R?
  • R for Rob
  • GitHub
  • Twitter
  • Etsy
  • Home
  • ggplot2

Tag: ggplot2

The Loudness War on Spotify

Posted on February 19, 2020December 22, 2020 By Rob
The Loudness War on Spotify
See

How the volume on songs has been turned up and up, told through the medium of the Spotify API.

How to make a UK Local Authority choropleth map in R

Posted on October 20, 2019May 4, 2022 By Rob
How to make a UK Local Authority choropleth map in R
Learn

Particularly useful in the time of COVID-19 – how visualise different local rates around the UK.

How Will Barack Obama Go Down in the Rankings of US Presidents?

Posted on November 8, 2016 By Rob 1 Comment on How Will Barack Obama Go Down in the Rankings of US Presidents?
How Will Barack Obama Go Down in the Rankings of US Presidents?
See

Americans are voting today to choose their 45th president. Come January, Barack Obama will leave the White House after eight years as President of the United States. So how will he be remembered? Historians are already trying to place Obama in the rankings of US presidents. I took this list of 18 different surveys from Wikipedia. It … Read More “How Will Barack Obama Go Down in the Rankings of US Presidents?” »

Andy Murray’s Long Road to the Top

Posted on November 7, 2016 By Rob
Andy Murray’s Long Road to the Top
See

Andy Murray was crowned as the world number one in men’s tennis for the first time today. The two-time Wimbledon champion has long been out on his own as Britain’s best male tennis player and now he’s managed to overhaul Novak Djokovic at the summit of the game. It took Andy Murray a lot longer … Read More “Andy Murray’s Long Road to the Top” »

How Much Money Has My Young Person’s Railcard Saved Me?

Posted on November 6, 2016 By Rob
How Much Money Has My Young Person’s Railcard Saved Me?
See

In a few months time I will be turning 27 years old. This means that my 16-25 railcard, commonly known in Britain as a Young Person’s Railcard, won’t be valid any more. But you’re 26? I bought my railcard a few days before my 26th birthday, which means I can keep using it until a couple … Read More “How Much Money Has My Young Person’s Railcard Saved Me?” »

Asylum Seekers Are Usually Housed Away from London and the South East (Unless They Are Unaccompanied Children)

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

Walking through what’s left of the heart of the Jungle. The camp ‘Main St’ pic.twitter.com/8tYau41NST

— Gavin Lee (@GavinLeeBBC) October 26, 2016

With the Calais Jungle being broken up and most of the migrants there sent elsewhere in France, it seems a good time to return to the topic of asylum (although there is a difference between asylum and migration).

Read More “Asylum Seekers Are Usually Housed Away from London and the South East (Unless They Are Unaccompanied Children)” »

Londoners Take the Bus Far More Often Than the Rest of England (Adjusted for Population)

Posted on October 24, 2016October 31, 2016 By Rob
Londoners Take the Bus Far More Often Than the Rest of England (Adjusted for Population)
See

The last post came in for some criticism on /r/rstats, in particular from /u/fang_xianfu, who argued it merely showed that London has more people than the rest of the country.

Read More “Londoners Take the Bus Far More Often Than the Rest of England (Adjusted for Population)” »

How Taking the Bus Is A London Thing

Posted on October 23, 2016October 31, 2016 By Rob
How Taking the Bus Is A London Thing
See

In our previous two–part series we looked at the melt function from the reshape2 package. The creator of the package, Hadley Wickham, pointed me towards tidyr and the gather function as a better alternative instead.

Read More “How Taking the Bus Is A London Thing” »

Melting Drugs Data: Part Two

Posted on October 19, 2016October 31, 2016 By Rob
Melting Drugs Data: Part Two
See

Before we begin: Hadley Wickham, the reshape2 package creator, pointed me in the direction of the tidyr package for melting data. I’ll take a look at it after this post. As promised from before, a look at @hadleywickham‘s reshape2 package and Home Office drugs data #ddj #rstats https://t.co/Q46eUijsaG — R For Journalists (@rforjournalists) October 18, … Read More “Melting Drugs Data: Part Two” »

Melting Drugs Data: Part One

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

foundry

Every year the Home Office, which is responsible for drugs policy, carries out an anonymous survey into use of illegal drugs in England and Wales.

Read More “Melting Drugs Data: Part One” »

Posts pagination

1 2 Next

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...