View source: R/get_tournament_.R
get_tournament_players | R Documentation |
Given a tournament name or a year, get_tournament_players()
returns player registrants for PSA World Tour tournaments and other events.
get_tournament_players(tournament = NULL, year = 2022, world_tour = TRUE)
tournament |
character string of name of the tournament. Partial tournament names are matched via regular expressions. |
year |
integer indicating year of competition. Must be 2021, 2022, or NULL if querying results for both years. |
world_tour |
logical indicating whether to only return PSA World Tour tournaments. |
Tibble containing the tournament name, competition category, tournament date, player, seed, nationality, round_reached.
This function only returns player registrant data from tournaments in 2021 and 2022, as any other data are not available to non-premium members on SquashInfo. Additionally, events that do not use a single elimination format are not included in the results (e.g. Karakal Premier League).
http://www.squashinfo.com/results
## Who played in the Allam British Open in 2022? get_tournament_players(tournament = "Allam British Open", year = 2022) ## Return player registrant data for all PSA World Tour tournaments in 2022 get_tournament_players(year = 2022, world_tour = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.