All the data you can eat

Scraping soccer

Adam Oxford
Adam Oxford

It’s fair to say that R isn’t the language of choice for heavy duty web scraping. but ACDI/VOCA‘s Ryo Nakagawara has a neat tutorial for harvesting football stats which proves that it’s not just possible, but pretty straightforward to do with the rvest libraries. There’s some suggestions about how to scrape responsibly, too, without breaking the site you’re looking at. Want to automate your R-based scraper to capture updates? There’s a nice hack using your operating system’s scheduler here.

Adam Oxford
  • Adam Oxford is a freelance journalist, media consultant and civic tech enthusiast. He also works closely with startups developing solutions to access to justice problems.

Leave a Comment

Your email address will not be published. Required fields are marked *