Skip to contents

Player equipment from the what's in the bag database (WITBDB): one row per club, parsed from GolfWRX and PGA Tour Club Tracker bag posts. Each bag keeps its source and source_url.

Usage

load_witb(player = NULL, year = NULL, slot = NULL)

Arguments

player

Optional player name filter (partial match, case-insensitive).

year

Optional year filter on as_of_date.

slot

Optional filter: one or more of "driver", "fairway", "hybrid", "utility", "iron", "wedge" and "putter".

Value

A tibble with one row per club: bag columns (bag_id, player_id, player_name, as_of_date, event_name, tournament_id, source, source_url), the club (slot, club_label, club_order), head, shaft, grip and putter specs, and qc_flags. See [pga_field_descriptions()] with "witb".

Details

player_id is the PGA Tour player ID used by [load_shots()]; it is NA for players without one (for example LPGA players and amateurs). Fields a post does not list are NA.

Examples

# \donttest{
load_witb("Scheffler", year = 2026, slot = "putter")
#> # A tibble: 6 × 49
#>   bag_id        player_id player_name as_of_date event_name tournament_id source
#>   <chr>         <chr>     <chr>       <date>     <chr>      <chr>         <chr> 
#> 1 golfwrx:7723… 46046     Scottie Sc… 2026-01-25 The 2026 … R2026002      golfw…
#> 2 golfwrx:7768… 46046     Scottie Sc… 2026-04-20 NA         NA            golfw…
#> 3 golfwrx:7807… 46046     Scottie Sc… 2026-06-29 NA         NA            golfw…
#> 4 golfwrx:7843… 46046     Scottie Sc… 2026-08-16 FedEx St.… R2026027      golfw…
#> 5 golfwrx:7853… 46046     Scottie Sc… 2026-08-30 Tour Cham… R2026060      golfw…
#> 6 golfwrx:7869… 46046     Scottie Sc… 2026-09-24 President… R2026500      golfw…
#> # ℹ 42 more variables: source_url <chr>, slot <chr>, club_label <chr>,
#> #   club_order <int>, head_brand <chr>, head_model <chr>, model_variant <chr>,
#> #   is_prototype <lgl>, finish <chr>, loft_stated <dbl>, loft_actual <dbl>,
#> #   lie <dbl>, bounce <dbl>, grind <chr>, offset <???>, head_weight <chr>,
#> #   adapter_setting <chr>, shaft_brand <chr>, shaft_model <chr>,
#> #   shaft_weight_g <dbl>, shaft_flex <chr>, shaft_profile <chr>,
#> #   tipping_in <dbl>, length_in <dbl>, swing_weight <chr>, grip_brand <chr>, …
# }