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

Author: admin

30 Day Map Challenge 2020

Posted on November 12, 2020November 13, 2020

My entries to November 2020’s ’30 Day Map Challenge’ on Twitter. No commentary, just maps.

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…

Early season football viz, EPL and League 2

Posted on September 19, 2019September 19, 2019

Five games into the Premier League season, I thought I’d resurrect some old ggplot2 scripts and have a look at teams’ shot locations, attacking play and possession areas. I’ve been drawing these charts on and off for a few seasons but only just noticed that it’s become possible to extend them to cover League 2….

Should I use a black background for my data visualisation?

Posted on July 25, 2019July 25, 2019

I’ve wavered back and forth on this. Black backgrounds can make your data visualisation jump off the page but they’re not always the correct choice. Here’s when I’ll consider or reject ‘dark mode’ for a dashboard or other visualisation.

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…

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Find Me

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

Categories

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