fetch_draw: Download Grand Slam Draws

View source: R/fetch_wta_draws.R

fetch_drawR Documentation

Download Grand Slam Draws

Description

This function downloads Grand Slam tournament draws for ATP and WTA singles

Usage

fetch_draw(tournament, year, atp = TRUE)

Arguments

tournament

Name of Grand Slam

year

Numeric year of event

atp

Logical indicator of ATP or WTA

Details

Naming conventions for the tournament should match those used on http://www.stevegtennis.com

Value

data frame of draw results

  • winner. Name of player who won

  • loser. Name of player who lost

  • round. Numeric round (7 = Final, 1 = First Round)

  • date. Date of start of tournament

  • year. Numeric of year

  • tournament. Name of tournament

Examples

fetch_draw("Australian Open", 2017, atp = FALSE)


skoval/deuce documentation built on March 7, 2023, 2:39 p.m.