Description Usage Arguments Examples
This function allows you to scrape marathon and half marathon data from the IAAF website.
1 | get_marathon(event = "marathon", gender = "women", year = 2018)
|
event |
The event (marathon or half marathon) to scrape. Defaults to marathon. |
gender |
The gender (men or women) to scrape. Defaults to women. |
year |
Year to scrape. (Data only available from 2001). |
1 2 3 | get_marathon(event = "half-marathon", gender = "men", year = 2012)
get_marathon(event = "marathon", gender = "women", year = 2018)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.