Skip to contents

Load and Install Packages

if (!requireNamespace('pacman', quietly = TRUE)){
  install.packages('pacman')
}
pacman::p_load(dplyr,tidyr, gt)
pacman::p_load_current_gh("sportsdataverse/cfbfastR")

CFBD Recruiting Player

Gets CFB recruiting information for a single year with filters available for team, recruit type, state and position.

cfbd_recruiting_player(2018, team = "Texas")
## ── Player recruiting info from CollegeFootballData.com ─────── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:34 UTC
## # A tibble: 29 × 19
##    id    athlete_id recruit_…¹  year ranking name  school commi…² posit…³ height
##    <chr> <chr>      <chr>      <int>   <int> <chr> <chr>  <chr>   <chr>    <dbl>
##  1 42926 4362077    HighSchool  2018      19 Cade… Steele Texas   S         73  
##  2 42931 4362086    HighSchool  2018      24 B.J.… Angle… Texas   S         73  
##  3 42954 4362074    HighSchool  2018      47 Jale… Heigh… Texas   CB        72  
##  4 42959 4362088    HighSchool  2018      52 DeMa… Arp    Texas   S         76  
##  5 42968 4362107    HighSchool  2018      61 Bren… Alief… Texas   WR        75.5
##  6 42971 4362076    HighSchool  2018      64 Anth… Lamar  Texas   CB        72  
##  7 43003 4362079    HighSchool  2018      96 Josh… Yoakum Texas   WR        73  
##  8 43011 NA         HighSchool  2018     104 Al'v… Lamar  Texas   WR        73  
##  9 43022 NA         HighSchool  2018     115 D'sh… Lamar  Texas   CB        70  
## 10 43026 4362091    HighSchool  2018     119 Ayod… IMG A… Texas   ILB       72  
## # … with 19 more rows, 9 more variables: weight <int>, stars <int>,
## #   rating <dbl>, city <chr>, state_province <chr>, country <chr>,
## #   hometown_info_latitude <chr>, hometown_info_longitude <chr>,
## #   hometown_info_fips_code <chr>, and abbreviated variable names
## #   ¹​recruit_type, ²​committed_to, ³​position
cfbd_recruiting_player(2016, recruit_type = "JUCO")
## ── Player recruiting info from CollegeFootballData.com ─────── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:34 UTC
## # A tibble: 476 × 19
##    id    athlete_id recruit_…¹  year ranking name  school commi…² posit…³ height
##    <chr> <chr>      <chr>      <int>   <int> <chr> <chr>  <chr>   <chr>    <dbl>
##  1 55123 NA         JUCO        2016       1 Jona… Arizo… Tennes… SDE       77.5
##  2 55124 NA         JUCO        2016       2 Char… ASA C… Alabama OT        77  
##  3 55125 -1039929   JUCO        2016       3 Gare… Snow … Utah    OT        77  
##  4 55126 NA         JUCO        2016       4 Malc… Nassa… Ohio S… OT        80  
##  5 55127 4057659    JUCO        2016       5 Mark… Dodge… Florida RB        74  
##  6 55128 4038530    JUCO        2016       6 Taj … Iowa … TCU     WR        75  
##  7 55129 556465     JUCO        2016       7 Jero… Trini… Virgin… DUAL      76  
##  8 55130 NA         JUCO        2016       8 Tyre… Highl… TCU     OLB       72  
##  9 55131 NA         JUCO        2016       9 Ryan… Tyler… TCU     WR        74  
## 10 55132 545367     JUCO        2016      10 Derr… Trini… Texas … WR        76  
## # … with 466 more rows, 9 more variables: weight <int>, stars <int>,
## #   rating <dbl>, city <chr>, state_province <chr>, country <chr>,
## #   hometown_info_latitude <chr>, hometown_info_longitude <chr>,
## #   hometown_info_fips_code <chr>, and abbreviated variable names
## #   ¹​recruit_type, ²​committed_to, ³​position
cfbd_recruiting_player(2020, recruit_type = "HighSchool", position = "OT", state = "FL")
## ── Player recruiting info from CollegeFootballData.com ─────── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:34 UTC
## # A tibble: 26 × 19
##    id    athlete_id recruit_…¹  year ranking name  school commi…² posit…³ height
##    <chr> <chr>      <chr>      <int>   <int> <chr> <chr>  <chr>   <chr>    <int>
##  1 61676 4429039    HighSchool  2020     110 Marc… St. T… LSU     OT          77
##  2 61695 4429010    HighSchool  2020     128 Jale… Oakle… Miami   OT          78
##  3 61724 NA         HighSchool  2020     157 Issi… Norla… Florida OT          76
##  4 61838 NA         HighSchool  2020     271 Josh… Suwan… Florida OT          78
##  5 61885 4433873    HighSchool  2020     318 Conn… Jesuit Stanfo… OT          79
##  6 62056 4593066    HighSchool  2020     491 Cayd… Fort … North … OT          78
##  7 62104 4565556    HighSchool  2020     538 Mich… Lenna… Georgi… OT          77
##  8 62223 4431266    HighSchool  2020     658 Gera… Cardi… Florida OT          77
##  9 62662 4568715    HighSchool  2020    1097 Lloy… Killi… Florid… OT          79
## 10 62718 4429232    HighSchool  2020    1154 Brad… Dunca… Vander… OT          78
## # … with 16 more rows, 9 more variables: weight <int>, stars <int>,
## #   rating <dbl>, city <chr>, state_province <chr>, country <chr>,
## #   hometown_info_latitude <chr>, hometown_info_longitude <chr>,
## #   hometown_info_fips_code <chr>, and abbreviated variable names
## #   ¹​recruit_type, ²​committed_to, ³​position

CFB Recruiting Information Position Groups.

cfbd_recruiting_position(2018, team = "Texas")
## ── Recruiting position group info from CollegeFootballData.com ─────────────────
##  Data updated: 2022-11-24 08:48:34 UTC
## # A tibble: 9 × 7
##   team  conference position_group avg_rating total_rating commits avg_stars
##   <chr> <chr>      <chr>               <dbl>        <dbl>   <int>     <dbl>
## 1 Texas Big 12     Defensive Back      0.940        19.7       21      4.05
## 2 Texas Big 12     Defensive Line      0.905        21.7       24      3.67
## 3 Texas Big 12     Linebacker          0.901         9.91      11      3.55
## 4 Texas Big 12     Offensive Line      0.913        18.3       20      3.9 
## 5 Texas Big 12     Quarterback         0.921         6.45       7      3.86
## 6 Texas Big 12     Receiver            0.913        14.6       16      3.62
## 7 Texas Big 12     Running Back        0.931         4.65       5      4.2 
## 8 Texas Big 12     Special Teams       0.872        14.0       16      3.38
## 9 Texas Big 12     All Positions       0.911       109.       120      3.75
cfbd_recruiting_position(2016, 2020, team = "Virginia")
## ── Recruiting position group info from CollegeFootballData.com ─────────────────
##  Data updated: 2022-11-24 08:48:34 UTC
## # A tibble: 9 × 7
##   team     conference position_group avg_rating total_rating commits avg_stars
##   <chr>    <chr>      <chr>               <dbl>        <dbl>   <int>     <dbl>
## 1 Virginia ACC        Defensive Back      0.833        11.7       14      2.86
## 2 Virginia ACC        Defensive Line      0.851        14.5       17      3.12
## 3 Virginia ACC        Linebacker          0.846        16.1       19      3   
## 4 Virginia ACC        Offensive Line      0.845        16.1       19      3.05
## 5 Virginia ACC        Quarterback         0.847         5.08       6      3   
## 6 Virginia ACC        Receiver            0.840        16.8       20      2.95
## 7 Virginia ACC        Running Back        0.845         5.92       7      3   
## 8 Virginia ACC        Special Teams       0.836         7.52       9      2.89
## 9 Virginia ACC        All Positions       0.843        93.6      111      2.99
cfbd_recruiting_position(2015, 2020, conference = "SEC")
## ── Recruiting position group info from CollegeFootballData.com ─────────────────
##  Data updated: 2022-11-24 08:48:35 UTC
## # A tibble: 126 × 7
##    team     conference position_group avg_rating total_rating commits avg_stars
##    <chr>    <chr>      <chr>               <dbl>        <dbl>   <int>     <dbl>
##  1 Alabama  SEC        Defensive Back      0.946        22.7       24      4   
##  2 Alabama  SEC        Defensive Line      0.954        29.6       31      4.19
##  3 Alabama  SEC        Linebacker          0.939        16.0       17      4   
##  4 Alabama  SEC        Offensive Line      0.933        21.5       23      3.96
##  5 Alabama  SEC        Quarterback         0.906         8.16       9      3.89
##  6 Alabama  SEC        Receiver            0.925        21.3       23      3.83
##  7 Alabama  SEC        Running Back        0.930        13.0       14      3.93
##  8 Alabama  SEC        Special Teams       0.886         8.86      10      3.5 
##  9 Arkansas SEC        Defensive Back      0.863        22.4       26      3.23
## 10 Arkansas SEC        Defensive Line      0.879        22.8       26      3.31
## # … with 116 more rows

CFB Recruiting Information Team Rankings.

cfbd_recruiting_team(2018, team = "Texas")
## ── Recruiting team rankings from CollegeFootballData.com ───── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:35 UTC
## # A tibble: 1 × 4
##    year  rank team  points
##   <int> <int> <chr> <chr> 
## 1  2018     3 Texas 300.06
cfbd_recruiting_team(2016, team = "Virginia")
## ── Recruiting team rankings from CollegeFootballData.com ───── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:35 UTC
## # A tibble: 1 × 4
##    year  rank team     points
##   <int> <int> <chr>    <chr> 
## 1  2016    63 Virginia 164.95
cfbd_recruiting_team(2016, team = "Texas A&M")
## ── Recruiting team rankings from CollegeFootballData.com ───── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:35 UTC
## # A tibble: 1 × 4
##    year  rank team      points
##   <int> <int> <chr>     <chr> 
## 1  2016    18 Texas A&M 238.94
## ── Recruiting team rankings from CollegeFootballData.com ───── cfbfastR 1.9.3 ──
##  Data updated: 2022-11-24 08:48:35 UTC
## # A tibble: 137 × 4
##     year  rank team          points
##    <int> <int> <chr>         <chr> 
##  1  2011     1 Alabama       298.50
##  2  2011     2 Florida State 297.03
##  3  2011     3 USC           286.99
##  4  2011     4 Texas         284.05
##  5  2011     5 Auburn        281.02
##  6  2011     6 Ohio State    278.47
##  7  2011     7 Georgia       278.18
##  8  2011     8 LSU           272.65
##  9  2011     9 Notre Dame    271.38
## 10  2011    10 Clemson       269.69
## # … with 127 more rows