fetch_summary: Download ATP player match statistics

fetch_summaryR Documentation

Download ATP player match statistics

Description

Creates a data frame of match statistics for a specified list of players based on the current data provided on the ATP tour website.

Usage

fetch_summary(players, year = NULL, surface = c("All", "Clay", "Hard", "Grass"))

Arguments

players

vector of player names (partial matching attempted)

year

numeric indicating year or NULL for career stats

surface

character indicating surface for match summary statistics

Value

Data frame with the columns:

Aces

total number of aces

Double Faults

total number of double faults

1st Serve

percentage of first serves in

1st Serve Points Won

percentage of first service points won

2nd Serve Points Won

percentage of first service point won

Break Points Faced

number of times opponent had break point opportunity against player

Break Points Saved

percentage of break points faced that player won

Service Games Played

number of service games played

Service Games Won

percentage of service games played that were won

Service Points Won

percentage of service points won

1st Serve Return Points Won

percentage of first serve return points won

2nd Serve Return Points Won

percentage of second serve return points won

Break Points Opportunities

number of break point opportunities

Break Points Converted

percentage of break point opportunities won

Return Games Played

number of return games played

Return Games Won

percentage of return games won

Return Points Won

percentage of return points won

Total Points Won

percentage of service and return points won

player

player full name

Author(s)

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

References

http://www.atpworldtour.com

Examples


fetch_summary(c("Nadal","Ferrer"), year = 2012, surface = "Clay")


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