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.5 ──
##  Data updated: 2024-09-10 01:25:47 UTC
## # A tibble: 29 × 19
##    id    athlete_id recruit_type  year ranking name          school committed_to
##    <chr> <chr>      <chr>        <int>   <int> <chr>         <chr>  <chr>       
##  1 42926 4362077    HighSchool    2018      19 Caden Sterns  Steele Texas       
##  2 42931 4362086    HighSchool    2018      24 B.J. Foster   Angle… Texas       
##  3 42954 4362074    HighSchool    2018      47 Jalen Green   Heigh… Texas       
##  4 42959 4362088    HighSchool    2018      52 DeMarvion Ov… Arp    Texas       
##  5 42968 4362107    HighSchool    2018      61 Brennan Eagl… Alief… Texas       
##  6 42971 4362076    HighSchool    2018      64 Anthony Cook  Lamar  Texas       
##  7 43003 4362079    HighSchool    2018      96 Joshua Moore  Yoakum Texas       
##  8 43011 NA         HighSchool    2018     104 Al'vonte Woo… Lamar  Texas       
##  9 43022 NA         HighSchool    2018     115 D'shawn Jami… Lamar  Texas       
## 10 43026 4362091    HighSchool    2018     119 Ayodele Adeo… IMG A… Texas       
## # ℹ 19 more rows
## # ℹ 11 more variables: position <chr>, height <dbl>, 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>
cfbd_recruiting_player(2016, recruit_type = "JUCO")
## ── Player recruiting info from CollegeFootballData.com ─────── cfbfastR 1.9.5 ──
##  Data updated: 2024-09-10 01:25:47 UTC
## # A tibble: 476 × 19
##    id    athlete_id recruit_type  year ranking name          school committed_to
##    <chr> <chr>      <chr>        <int>   <int> <chr>         <chr>  <chr>       
##  1 55123 NA         JUCO          2016       1 Jonathan Kon… Arizo… Tennessee   
##  2 55124 NA         JUCO          2016       2 Charles Bald… ASA C… Alabama     
##  3 55125 -1039929   JUCO          2016       3 Garett Bolles Snow … Utah        
##  4 55126 NA         JUCO          2016       4 Malcolm Prid… Nassa… Ohio State  
##  5 55127 4057659    JUCO          2016       5 Mark Thompson Dodge… Florida     
##  6 55128 4038530    JUCO          2016       6 Taj Williams  Iowa … TCU         
##  7 55129 556465     JUCO          2016       7 Jerod Evans   Trini… Virginia Te…
##  8 55130 NA         JUCO          2016       8 Tyree Horton  Highl… TCU         
##  9 55131 NA         JUCO          2016       9 Ryan Parker   Tyler… TCU         
## 10 55132 545367     JUCO          2016      10 Derrick Will… Trini… Texas Tech  
## # ℹ 466 more rows
## # ℹ 11 more variables: position <chr>, height <dbl>, 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>
cfbd_recruiting_player(2020, recruit_type = "HighSchool", position = "OT", state = "FL")
## ── Player recruiting info from CollegeFootballData.com ─────── cfbfastR 1.9.5 ──
##  Data updated: 2024-09-10 01:25:47 UTC
## # A tibble: 26 × 19
##    id    athlete_id recruit_type  year ranking name          school committed_to
##    <chr> <chr>      <chr>        <int>   <int> <chr>         <chr>  <chr>       
##  1 61676 4429039    HighSchool    2020     110 Marcus Dumer… St. T… LSU         
##  2 61695 4429010    HighSchool    2020     128 Jalen Rivers  Oakle… Miami       
##  3 61724 NA         HighSchool    2020     157 Issiah Walke… Norla… Florida     
##  4 61838 NA         HighSchool    2020     271 Joshua Braun  Suwan… Florida     
##  5 61885 4433873    HighSchool    2020     318 Connor McLau… Jesuit Stanford    
##  6 62056 4593066    HighSchool    2020     491 Cayden Baker  Fort … North Carol…
##  7 62104 4565556    HighSchool    2020     538 Michael Rank… Lenna… Georgia Tech
##  8 62223 4431266    HighSchool    2020     658 Gerald Mincey Cardi… Florida     
##  9 62662 4568715    HighSchool    2020    1097 Lloyd Willis  Killi… Florida Sta…
## 10 62718 4429232    HighSchool    2020    1154 Bradley Ashm… Dunca… Vanderbilt  
## # ℹ 16 more rows
## # ℹ 11 more variables: position <chr>, height <int>, 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>

CFB Recruiting Information Position Groups.

cfbd_recruiting_position(2018, team = "Texas")
## ── Recruiting position group info from CollegeFootballData.com ─────────────────
##  Data updated: 2024-09-10 01:25:48 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 SEC        Defensive Back      0.945        29.3       31      4.10
## 2 Texas SEC        Defensive Line      0.911        30.1       33      3.70
## 3 Texas SEC        Linebacker          0.906        16.3       18      3.72
## 4 Texas SEC        Offensive Line      0.915        28.4       31      3.90
## 5 Texas SEC        Quarterback         0.928         8.35       9      4   
## 6 Texas SEC        Receiver            0.919        23.9       26      3.73
## 7 Texas SEC        Running Back        0.937         9.37      10      4.2 
## 8 Texas SEC        Special Teams       0.875        16.6       19      3.37
## 9 Texas SEC        All Positions       0.917       162.       177      3.82
cfbd_recruiting_position(2016, 2020, team = "Virginia")
## ── Recruiting position group info from CollegeFootballData.com ─────────────────
##  Data updated: 2024-09-10 01:25:48 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: 2024-09-10 01:25:48 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
## # ℹ 116 more rows

CFB Recruiting Information Team Rankings.

cfbd_recruiting_team(2018, team = "Texas")
## ── Recruiting team rankings from CollegeFootballData.com ───── cfbfastR 1.9.5 ──
##  Data updated: 2024-09-10 01:25:48 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.5 ──
##  Data updated: 2024-09-10 01:25:48 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.5 ──
##  Data updated: 2024-09-10 01:25:48 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.5 ──
##  Data updated: 2024-09-10 01:25:49 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
## # ℹ 127 more rows