get_rankings | R Documentation |
Given a competition category, get_rankings()
returns the most recent PSA rankings table.
get_rankings(top = NULL, category = NULL)
top |
integer indicating the number of top PSA players by rank to return. |
category |
character string indicating the competition category. Must be one of "both", "mens", or "womens". |
Tibble containing the player rank, previous month's rank, name, highest ranking achieved, date of highest ranking, nationality, and competition category.
This function only returns the most recent PSA rankings table for Men's and Women's singles competitions.
http://www.squashinfo.com/rankings/men
http://www.squashinfo.com/rankings/women
## Get the top 10 ranked men's singles players get_rankings(top = 10, category = "mens") ## Get the top 10 ranked women's singles players get_rankings(top = 20, category = "womens") ## Get the top 20 players in both men's and women's singles competitions get_rankings(top = 20, category = "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.