Skip to content

R for Journalists

Unlock the power of R

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

Tag: ddj

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?” »

Dodgy Road Signs, Traffic Lights and Markings: Part Two

Posted on November 5, 2016 By Rob
Dodgy Road Signs, Traffic Lights and Markings: Part Two
See

At the end of the last post, we had our data in a file named defective. The data contains all the injuries caused by car accidents where a road sign, signal or marking was obscured or not working properly from 2010 to 2015 (4,672 in total). To R or not to R? We could continue to … Read More “Dodgy Road Signs, Traffic Lights and Markings: Part Two” »

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” »

Is Unemployment Higher under Labour or the Conservatives?

Posted on October 17, 2016October 31, 2016 By Rob
Is Unemployment Higher under Labour or the Conservatives?
See

In the last post we discussed annotations on line plots.

In this post, we are going to take it a step further and look at block annotations.

Read More “Is Unemployment Higher under Labour or the Conservatives?” »

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