Tags: , , , , , , ,

Andy Murray’s Long Road to the Top

Andy Murray’s Long Road to the Top

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

Continue Reading

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

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

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

Continue Reading

Dodgy Road Signs, Traffic Lights and Markings: Part Two

Dodgy Road Signs, Traffic Lights and Markings: Part Two

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

Continue Reading

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

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

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.

Continue Reading

How Taking the Bus Is A London Thing

How Taking the Bus Is A London Thing

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.

Continue Reading

Melting Drugs Data: Part Two

Melting Drugs Data: Part Two

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

Continue Reading

Melting Drugs Data: Part One

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.

Continue Reading

Is Unemployment Higher under Labour or the Conservatives?

Is Unemployment Higher under Labour or the Conservatives?

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.

Continue Reading