Skip to content
Menu
Hilltop Analytics
  • Sections
    • Football
  • About
  • Members
Hilltop Analytics

Category: RStats

Back on the Football Trail

Posted on August 22, 2021August 23, 2021

I haven’t done anything with football data for ages. All sorts of reasons why, including that maintaining the data became a proper pain in the neck and I was spending more time on that than on fun vis stuff and models. Anyway, some sudden inspiration, the old database is repaired, code dusted off and… Here’s…

A Better Covid-19 Heatmap

Posted on October 13, 2020October 13, 2020

I got frustrated with the UK Government’s Covid-19 maps of England and tried to build a better one using R and Shiny. Code examples and analysis may be coming, but for now you can find the app here.

Learning to code (properly) in R and Shiny

Posted on November 18, 2019November 18, 2019

You’ve probably seen this diagram before, or a variation on it; data science happens at the conjunction of statistics, domain knowledge and computer science. Sometimes the domain knowledge part is swapped for data visualisation, but it still works. I came to data science from statistics – my first job was as an econometrician – and…

Visualising your Twitter personality

Posted on July 19, 2019July 19, 2019

Who you follow on Twitter can say a lot about you and with a bit of R and Gephi, can look quite pretty too. Here’s my network (who I follow, not who follows me), clustered into communities by Gephi, based on the similarity of each account’s own followers. It works pretty well to profile my…

A UK hexbin visualisation with ggplot, rayshader and geoviz

Posted on July 12, 2019July 12, 2019

It’s taken me too long to try out rayshader’s new ggplot feature and obviously when I got around to it, I was going to find a way to use geoviz. Here’s a quick code snippet to draw a stylised hexbin elevation map of the UK, that’s easily changed to anywhere else in the world that…

5 minutes to Hawaii in 3D with Rayshader and Geoviz

Posted on July 2, 2019July 2, 2019

This one’s a vignette from the geoviz package, but vignettes are easy to miss so I’m putting it on Hilltop Analytics too. A quick geoviz and rayshader code snippet that draws Hawaii with a Stamen Maps overlay. No API keys needed for this one, run the code below and you’re there! library(geoviz) library(rayshader) # Coordinates…

3D football match visualisations

Posted on May 20, 2019May 20, 2019

I used to do something a bit like these a long time ago and have resurrected them as a way of dipping a toe back into football analysis. They violate just about every rule of data visualisation, but they’re fun and I like them. Think of them as a souvenir poster of a match, rather…

Visualising the London Marathon route with R, rayshader and geoviz

Posted on May 9, 2019June 20, 2019

If you’ve been reading my recent posts, you might have already played with geoviz, that makes it easy to draw rayshader scenes in R. Recently we learned how to quickly draw any location you like in rayshader and to add GPS tracks. What if you want to draw a scene with data that doesn’t come…

  • 1
  • 2
  • Next

Find Me

  • Email
  • GitHub
  • LinkedIn
  • Twitter
Hilltop Analytics Nest Box
See if our resident blue tit is home
Chalkboard
Illustrate and share line-ups, tactics and moves
Wingman
UK Paragliding flight planning and records
Analysts' League Table
When you need more than won/drawn/lost
Gone Paragliding?

Categories

  • Football
  • General
  • Paragliding
  • Player Reports
  • RStats
    • geoviz
  • Uncategorized
©2023 Hilltop Analytics | WordPress Theme by Superbthemes.com