These days, if you want to work in sports analytics, you need to know how to code. There’s really no way around it. And while that can be scary for someone who’s never written a line of code before, it’s not as daunting as it seems.
The reality is that there are a variety of excellent (often free!) resources for learning how to code. Some of them are very general, some are focused on a specific programming language, and some are focused on a specific use case, like sports analytics.
Below is a list of fantastic resources for learning how to code specifically for sports analytics. Because sports analytics is typically done in either R or Python, most of what you’ll find below is focused on those two languages, however, many of the methods used in R and Python can be applied to other languages and use cases beyond sports.
This list is based on (read: “essentially copied directly from”) a thread I posted on the Measurables Twitter account earlier this year. I’m duplicating it here simply because some people might find a blog post easier to navigate than a Twitter thread. I’ll be keeping this list updated with any new resources I discover.
If you’re unsure where to start, reach out! You can find my contact info here.
🏈 Ben Baldwin’s guide to using nflscrapR, an R package for NFL data analysis
⚽ FC Python, a site that teaches Python through soccer data
⚽ FC RStats, a site that teaches R through soccer data
Updated 9/24/20 with new resources