Web scraping function to gather dates and times of Bath Rugby matches, and
whether or not Bath won, from the
Bath Rugby website.
Note: This function's code is heavily commented so that if you want to, you can use it as a tutorial/guide for writing similar functions of your own! You can view the commented code on the GitHub repo here.
A vector of years of seasons to retrieve records from.
A data frame of kick-off date-times and match outcomes.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.