Skip to contents

Returns par, yardage and the pin position for every hole in every round of a PGA Tour season.

Usage

load_course_setup(year, tournament = NULL)

Arguments

year

Season year (e.g., 2026).

tournament

Optional PGA Tour tournament ID (e.g., `"R2025011"`) or partial tournament name match.

Value

A tibble with one row per hole per round: tournament_id, tournament_name, round, course_id, hole, par, yardage, and pin_x, pin_y (pin position on the green diagram, scaled 0 to 1; NA in older seasons).

Examples

# \donttest{
setup <- load_course_setup(2026, "Sony")
# }