Learn R Programming

squashinformr (version 0.2.6)

get_rankings_table: Get the PSA rankings tables from SquashInfo

Description

Given a competition category, get_rankings_table() returns the most recent PSA rankings table.

Usage

get_rankings_table(top = NULL, category = NULL)

Arguments

top

integer indicating the number of top PSA players by rank to return.

category

character string indicating the competition category. Must be one of "mens", or "womens".

Value

Tibble containing the player rank, previous month's rank, name, highest ranking achieved, date of highest ranking, nationality, and competition category.