Skip to contents

Pie/bar chart of wins by player.

Usage

plot_wins(year = NULL, top_n = 10, file_path)

Arguments

year

Optional year filter

top_n

Number of players to show

file_path

Path to data file (.rds or .parquet)

Value

ggplot object

Examples

if (FALSE) { # \dontrun{
plot_wins(year = 2025, file_path = "golf_data.rds")
} # }