get_player_profile_urls: Get Player URLs from SquashInfo

View source: R/get_player_recent_.R

get_player_profile_urlsR Documentation

Get Player URLs from SquashInfo

Description

Given the player name, rank(s), and competition category, get_player_profile_urls() returns profile slugs of ranked players in PSA World Tour competitions.

Usage

get_player_profile_urls(
  player = NULL,
  rank = NULL,
  category = c("mens", "womens")
)

Arguments

player

character string of player name.

rank

single integer or vector of integers indicating the rank of the PSA player(s) to return.

category

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

Value

Data frame containing player ranks, names, and profile slugs.


squashinformr documentation built on May 10, 2022, 5:12 p.m.