Profile cover photo
Profile photo
R For Journalists
5 followers -
Unlock the power of R
Unlock the power of R

5 followers
About
Communities and Collections
View all
Posts

Calculating distances in R - and working out which trains are the slowest and the fastest #rstats http://rforjournalists.com/2017/08/26/calculating-distances-in-r-how-fast-is-your-train/
Add a comment...

My final look at internal migration in Britain using #rstats. Students drive migration to cities. But in rural areas, young people are leaving while everyone else arrives: http://rforjournalists.com/2017/08/17/internal-migration-iii-plotting-age-groups/
Add a comment...

Some practice on more complicated for loops. I used them to calculate mean ages of 573 constituencies in England and Wales #rstats

http://rforjournalists.com/2017/05/28/practice-with-for-loops-calculating-mean-ages/
Add a comment...

A look at the #rstats behind some controversial stories I wrote last week about cyclists undertaking http://rforjournalists.com/2017/02/15/cyclists-accidents-undertaking/
Add a comment...

Post has attachment
Recent months have seen riots at several different English prisons. Overcrowding is a serious problem (uses a for loop and a self-defined function) #rstats

http://rforjournalists.com/2017/01/06/overcrowding-in-prison/
Overcrowding in prison
Overcrowding in prison
rforjournalists.com
Add a comment...

Post has attachment
I made an all-time English football league table.

At the top are Championship Burton Albion with a 100% record! (albeit after just a few matches) #rstats

http://rforjournalists.com/2016/12/26/where-does-your-team-rank-in-the-boxing-day-league-table/
Add a comment...

Post has attachment
Andy Murray made it to world number one aged 29 today. But it's been a tough road - usually tennis players make it to the top aged 24 or under.

Age is just a number...

http://rforjournalists.com/2016/11/07/andy-murrays-long-road-to-the-top/

Post has attachment

Post has attachment
There have been more than 4,000 injuries in car accidents around Britain since 2010 where the police noted the road signs, traffic lights or markings were broken or couldn't be seen properly: #rstats http://rforjournalists.com/2016/11/05/dodgy-road-signs-traffic-lights-and-markings-part-two/
Add a comment...

Post has attachment
I did some more advanced (for me anyway!) merging and rbinding to put together six years of road accidents data in Britain. Part One: homing in on the accidents involving dodgy/obscured road signs and markings. #rstats http://rforjournalists.com/2016/11/02/dodgy-road-signs-traffic-lights-and-markings-part-one/
Wait while more posts are being loaded