Skip to contents

Logo image URLs for tours, tournaments, ShotLink courses and famous clubs (every host of a men's or women's major, the Ryder Cup, Presidents Cup or Solheim Cup since 1960). Only URLs are provided, not images; logos remain the property of their owners.

Usage

load_logos(type = NULL, name = NULL)

Arguments

type

Optional filter: one or more of "tour", "tournament", "course" and "club".

name

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

Value

A tibble with logo_type, name, logo_url, logo_source, source_page, tour, pga_tournament_id, espn_tournament_id, course_id, club_id, primary_color, secondary_color and checked_at.

Details

Tournament logos come from the PGA Tour schedule (2012 on, joined to [load_event_ids()]) and from Wikimedia. A course takes its club's logo, from Wikimedia or else the club's own site. Every URL returned an image on checked_at.

Examples

# \donttest{
load_logos("club", "Augusta")
#> # A tibble: 1 × 13
#>   logo_type name        logo_url logo_source source_page tour  pga_tournament_id
#>   <chr>     <chr>       <chr>    <chr>       <chr>       <chr> <chr>            
#> 1 club      Augusta Na… https:/… wikimedia   https://en… NA    NA               
#> # ℹ 6 more variables: espn_tournament_id <chr>, course_id <chr>, club_id <chr>,
#> #   primary_color <chr>, secondary_color <chr>, checked_at <date>
# }