get_marathon: Scrape marathon data

Description Usage Arguments Examples

Description

This function allows you to scrape marathon and half marathon data from the IAAF website.

Usage

1
get_marathon(event = "marathon", gender = "women", year = 2018)

Arguments

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).

Examples

1
2
3
get_marathon(event = "half-marathon", gender = "men", year = 2012)

get_marathon(event = "marathon", gender = "women", year = 2018)

trevinflick/TrackAndFieldR documentation built on May 31, 2019, 5:22 p.m.