Skip to contents

Get college football mapping for play types

Usage

cfbd_play_types()

Value

cfbd_play_types() - A data frame with 48 rows and 3 variables:

play_type_id: integer

Referencing play type id.

text: character

play type description.

abbreviation: character

play type abbreviation used for function call

Examples

# \donttest{
  try(cfbd_play_types())
#> ── Play types data from CollegeFootballData.com ────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2024-09-10 01:23:45 UTC
#> # A tibble: 48 × 3
#>    play_type_id text              abbreviation
#>           <int> <chr>             <chr>       
#>  1            5 Rush              RUSH        
#>  2           24 Pass Reception    REC         
#>  3            3 Pass Incompletion NA          
#>  4           53 Kickoff           K           
#>  5           52 Punt              PUNT        
#>  6            8 Penalty           PEN         
#>  7           21 Timeout           TO          
#>  8            7 Sack              NA          
#>  9           68 Rushing Touchdown TD          
#> 10           67 Passing Touchdown TD          
#> # ℹ 38 more rows
# }