fetch_atp_rankings: Download Rankings from ATP Tour Website

View source: R/fetch_atp_ranking.R

fetch_atp_rankingsR Documentation

Download Rankings from ATP Tour Website

Description

This function extracts ATP singles rankings for a particular date and ranking group

Usage

fetch_atp_rankings(date, min_rank = 1, max_rank = 100, singles = T)

Arguments

date

A character date for extracting rankings, YYYY-MM-DD

min_rank

A numeric for the highest ranked player to include

max_rank

A numeric for the lowest ranked player to include

Value

data frame of rankings for the specified week

  • player. Character name of player

  • date. Date object of Monday rankings were updated

  • rank. Numeric rank

  • age. Numeric of player age

  • points. Numeric of ranking points

Examples

fetch_atp_rankings("2017-01-01")


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