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 […]
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 […]
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 […]
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 […]
One of the most detailed UK government datasets I’ve ever seen is the STATS19 data from the Department for Transport. This is the collated reports of road accidents in Great Britain in which at least one person was injured or […]
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 […]
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.
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.
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 […]
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.