Skip to contents

Look up a player's results across all tournaments in a data file.

Usage

get_player(name, file_path)

Arguments

name

Player name (partial match, case-insensitive)

file_path

Path to data file (.rds or .parquet)

Value

Tibble with player's tournament results

Examples

if (FALSE) { # \dontrun{
# Get Rory McIlroy's results
get_player("McIlroy", file_path = "golf_data.rds")

# Get Scottie Scheffler's results
get_player("Scheffler", file_path = "golf_data.rds")
} # }