Hi! Welcome to my blog/portfolio – stay tuned for more!
- Finding the Best Lazy Fantasy Football Team Using PuLP in Python
- Scraping, Analysing, and Visualising lyrics in R
- Animating goals in R using ggsoccer and gganimate.
- Learning gganimate with the LastFM API
- Austin vs Austin
Send Me a Message
Blogs I like
If you’re anything like me, you play the Premier League’s official fantasy football game every year. And every year, by about November, you forget about it. This had me wondering – what’s the best possible team I can set on Gameweek 1 and forget about it for the rest of the season. Using data fromContinue reading “Finding the Best Lazy Fantasy Football Team Using PuLP in Python”
It’s been a while since my last post, so I wanted to dig into my old work-in-progress folder to find something to rework and put up here. So here it is, a fairly handy way to analyse the lyrics of your favourite artists using R and the genius API. This post uses techniques explained inContinue reading “Scraping, Analysing, and Visualising lyrics in R”
After seeing this blog post from Matt Dray, and this github repo from Devin Pleurer, I knew what my next blog post was going to be. My last post was my first foray into gganimate, and this will be my first look at the ggsoccer package. Let’s get started. Code for the finished product availableContinue reading “Animating goals in R using ggsoccer and gganimate.”
I’m one of the few people that actually still has – and uses – a Last.fm account. I say still, I’m one of the few who ever had one. I’ve been playing around with some APIs for the first time lately and thought I’d check out the Last.fm one. I decided my listening history wasContinue reading “Learning gganimate with the LastFM API”
I can’t quite remember when I came up with the idea for this one, but I have a feeling this was a 3AM idea. I know the title doesn’t tell you much. I’m not talking about a Kramer Vs. Kramer reboot. Stone Cold Steve Austin isn’t coming out of retirement to fight YouTuber Austin McConnell.Continue reading “Austin vs Austin”
In this blog post I will be adapting some code from the wonderful FC R Stats, a great football statistics resource – be sure to check out their tutorial for more detail on how to compose something like this. This post focuses a lot on writing functions in R, so check out tutorials here orContinue reading “Simulating football games in R using xG values”