View source: R/cfbd_recruiting.R
cfbd_recruiting_player | R Documentation |
Get player recruiting rankings
cfbd_recruiting_player( year = NULL, team = NULL, recruit_type = "HighSchool", state = NULL, position = NULL )
year |
(Integer optional): Year, 4 digit format (YYYY) - Minimum: 2000, Maximum: 2020 currently |
team |
(String optional): D-I Team |
recruit_type |
(String optional): default API return is 'HighSchool', other options include 'JUCO' or 'PrepSchool' - For position group information |
state |
(String optional): Two letter State abbreviation |
position |
(String optional): Position Group - options include:
|
cfbd_recruiting_player()
- A data frame with 14 variables:
id
: integer.Referencing id - 247Sports.
athlete_id
Athlete referencing id.
recruit_type
: character.High School, Prep School, or Junior College.
year
: integer.Recruit class year.
ranking
: integer.Recruit Ranking.
name
: character.Recruit Name.
school
: character.School recruit attended.
committed_to
: character.School the recruit is committed to.
position
: character.Recruit position.
height
: double.Recruit height.
weight
: integer.Recruit weight.
stars
: integer.Recruit stars.
rating
: double.247 composite rating.
city
: character.Hometown of the recruit.
state_province
: character.Hometown state of the recruit.
country
: character.Hometown country of the recruit.
hometown_info_latitude
: character.Hometown latitude.
hometown_info_longitude
: character.Hometown longitude.
hometown_info_fips_code
: character.Hometown FIPS code.
try(cfbd_recruiting_player(2018, team = "Texas")) try(cfbd_recruiting_player(2016, recruit_type = "JUCO")) try(cfbd_recruiting_player(2020, recruit_type = "HighSchool", position = "OT", state = "FL"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.