fetch_matchfacts: Download ATP player match-specific statistics

fetch_matchfactsR Documentation

Download ATP player match-specific statistics

Description

Creates a data frame of service and return statistics for all matches for specified player and year.

Usage

fetch_matchfacts(player, year)

Arguments

player

character name of player (partial matching is attempted)

year

numeric year

Details

Data frame will include all match results for each player and tournament.

Value

Data frame with the columns:

Winner

numeric indicator (1=win, 0=loss)

Player

character

Opponent

character

Time

numeric duration of match in minutes

Aces

numeric

Double Faults

numeric

1st Serve In

numeric

1st Serves

numeric

1st Serve Points Won

numeric

2nd Serve Points Won

numeric

2nd Serve In

numeric

Break Points Saved

numeric

Break Points Faced

numeric

Service Games Played

numeric

1st Serve Return Points Won

numeric

1st Serve Return Points

numeric

2nd Serve Return Points Won

numeric

2nd Serve Return Points

numeric

Break Points Converted

numeric

Break Points Opportunities

numeric

Return Games Played

numeric

Total Service Points Won

numeric

Total Service Points

numeric

Total Return Points Won

numeric

Total Return Points

numeric

Total Points Won

numeric

Total Points

numeric

Tournament

character tournament keyword

Year

numeric

Round

character

Date

character

Surface

character

Author(s)

Stephanie Kovalchik <s.a.kovalchik@gmail.com>

References

http://www.atpworldtour.com

Examples

fetch_matchfacts(year = 2013, player = "Milos Raonic")

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