Skip to contents

Get the catalog of stadiums and venues ESPN tracks for college football, with location, capacity-related flags, and addresses.

Usage

espn_cfb_venues(max_results = 200)

Arguments

max_results

(Integer default 200): Maximum number of venues to dereference and return.

Value

A data frame with one row per venue:

col_nametypesdescription
venue_idcharacterESPN venue id.
full_namecharacterVenue full name (e.g. Tenney Stadium).
citycharacterVenue city.
statecharacterVenue state.
zip_codecharacterVenue postal code.
countrycharacterVenue country.
grasslogicalTRUE if the playing surface is grass.
indoorlogicalTRUE if the venue is indoors.
venue_refcharacter$ref URL to the venue resource.

Details

Wraps the ESPN core-v2 endpoint sports.core.api.espn.com/v2/sports/football/leagues/college-football/venues. The index is $ref-paginated and large (~911 venues). Dereferencing every venue is hundreds of HTTP calls, so this wrapper caps the walk at max_results venues (default 200) – raise it to pull more, or set it high enough to harvest the whole catalog in one (slow) call. Pages are walked in id order, so the same max_results always returns the same prefix of the catalog.

See also

family_espn_cfb lists every function in this family.

Examples

# \donttest{
  try(espn_cfb_venues(max_results = 5))
#> ── Venues index from ESPN ──────────────────────────────────── cfbfastR 3.1.0 ──
#> ℹ Data updated: 2026-11-26 22:48:38 UTC
#> # A tibble: 5 × 9
#>   venue_id full_name         city  state zip_code country grass indoor venue_ref
#>   <chr>    <chr>             <chr> <chr> <chr>    <chr>   <lgl> <lgl>  <chr>    
#> 1 36       Tenney Stadium a… Poug… NY    12601    USA     FALSE FALSE  http://s…
#> 2 150      Moglia Stadium a… Bronx NY    10458    USA     FALSE FALSE  http://s…
#> 3 218      Riccardo Silva S… Miami FL    33199    USA     FALSE FALSE  http://s…
#> 4 347      Camp Randall Sta… Madi… WI    53711    USA     FALSE FALSE  http://s…
#> 5 453      Robertson Stadium Hous… TX    77004    USA     FALSE TRUE   http://s…
# }