Get season statistics by team

cfbd_stats_season_team(
  year,
  season_type = "regular",
  team = NULL,
  conference = NULL,
  start_week = NULL,
  end_week = NULL,
  verbose = FALSE
)

Arguments

year

(Integer required): Year, 4 digit format (YYYY)

season_type

(String default: regular): Select Season Type - regular, postseason, or both

team

(String optional): D-I Team

conference

(String optional): Conference abbreviation - Select a valid FBS conference
Conference abbreviations P5: ACC, B12, B1G, SEC, PAC
Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC

start_week

(Integer optional): Starting Week - values range from 1-15, 1-14 for seasons pre-playoff, i.e. 2013 or earlier

end_week

(Integer optional): Ending Week - values range from 1-15, 1-14 for seasons pre-playoff, i.e. 2013 or earlier

verbose

Logical parameter (TRUE/FALSE, default: FALSE) to return warnings and messages from function

Value

cfbd_stats_season_team() - A data frame with 32 variables:

season: integer

Season for stats.

team: character.

Team name.

conference: character.

Conference of team.

games: integer.

Number of games.

time_of_poss_total: integer.

Time of possession total.

pass_comps: integer.

Total number of pass completions.

pass_atts: integer.

Total number of pass attempts.

net_pass_yds: integer.

Net passing yards.

pass_TDs: integer.

Passing touchdowns.

interceptions: integer.

Passing interceptions.

rush_atts: integer.

Rushing attempts.

rush_yds: integer.

Rushing yards.

rush_TDs: integer.

Rushing touchdowns.

total_yds: integer.

Rushing total yards.

fumbles_lost: integer.

Fumbles lost.

turnovers: integer.

Turnovers total.

first_downs: integer.

Number of first downs.

third_downs: integer.

Number of third downs.

third_down_convs: integer.

Number of third down conversions.

fourth_down_convs: integer.

Fourth down conversions.

fourth_downs: integer.

Fourth downs.

penalties: integer.

Total number of penalties.

penalty_yds: integer.

Penalty yards total.

kick_returns: integer.

Number of kick returns.

kick_return_yds: integer.

Total kick return yards.

kick_return_TDs: integer.

Total kick return touchdowns.

punt_returns: integer.

Number of punt returns.

punt_return_yds: integer.

Punt return total yards.

punt_return_TDs: integer.

Punt return total touchdowns.

passes_intercepted: integer.

Passes intercepted.

passes_intercepted_yds: integer.

Pass interception return yards.

passes_intercepted_TDs: integer.

Pass interception return touchdowns.

Examples

# \donttest{
   cfbd_stats_season_team(year = 2018, conference = "B12", start_week = 1, end_week = 8)
#>    season           team conference games time_of_poss_total pass_comps
#> 1    2018     Iowa State     Big 12     6              10683        121
#> 2    2018 Oklahoma State     Big 12     7              11418        136
#> 3    2018         Baylor     Big 12     7              13974        179
#> 4    2018  West Virginia     Big 12     6              10212        138
#> 5    2018          Texas     Big 12     7              13593        160
#> 6    2018         Kansas     Big 12     7              12405        133
#> 7    2018     Texas Tech     Big 12     7              14014        220
#> 8    2018            TCU     Big 12     7              12200        137
#> 9    2018   Kansas State     Big 12     7              11392         91
#> 10   2018       Oklahoma     Big 12     7              11600        125
#>    pass_atts net_pass_yds pass_TDs interceptions rush_atts rush_yds rush_TDs
#> 1        179         1420       11             3       200      715        6
#> 2        232         2038       17             8       277     1415       16
#> 3        288         2198       13             5       257     1126       14
#> 4        196         1923       22             8       199      859        6
#> 5        246         1760       13             3       284     1113       11
#> 6        224         1311       12             3       240     1082        8
#> 7        319         2681       17             8       297     1182       22
#> 8        239         1584       12            10       260     1170        8
#> 9        170         1153        6             5       291     1341       12
#> 10       176         2111       26             3       247     1576       19
#>    total_yds fumbles_lost turnovers first_downs third_downs third_down_convs
#> 1       2135            5         8         112          79               28
#> 2       3453            4        12         164          99               40
#> 3       3324            3         8         185         106               51
#> 4       2782            3        11         139          69               34
#> 5       2873            3         6         162         107               46
#> 6       2393            4         7         120         101               33
#> 7       3863            3        11         209         110               54
#> 8       2754            6        16         140         104               41
#> 9       2494            6        11         116          88               37
#> 10      3687            2         5         165          64               30
#>    fourth_down_convs fourth_downs penalties penalty_yds kick_returns
#> 1                  5            9        32         292           10
#> 2                 10           15        52         514           18
#> 3                  2            4        52         552           14
#> 4                  1            2        45         432           11
#> 5                  6            8        53         441           13
#> 6                  4            8        44         381           12
#> 7                  6           10        57         527           17
#> 8                  4           11        32         281           19
#> 9                  4            8        35         334           26
#> 10                 4            6        43         403           15
#>    kick_return_yds kick_return_TDs punt_returns punt_return_yds punt_return_TDs
#> 1              230               0            8              74               0
#> 2              366               0           14             107               1
#> 3              262               0           13              74               1
#> 4              213               0            6              58               0
#> 5              250               0            9             134               1
#> 6              246               0            9              59               0
#> 7              401               0           10              71               0
#> 8              408               0           11             241               2
#> 9              452               0           11             156               1
#> 10             392               0            9             123               1
#>    passes_intercepted passes_intercepted_yds passes_intercepted_TDs
#> 1                   4                      0                      0
#> 2                   4                     39                      1
#> 3                   6                     22                      0
#> 4                   7                    128                      1
#> 5                   8                     59                      0
#> 6                  12                    285                      3
#> 7                   7                     56                      1
#> 8                   3                     21                      0
#> 9                   8                     45                      0
#> 10                  4                     55                      0

   cfbd_stats_season_team(2019, team = "LSU")
#>   season team conference games time_of_poss_total pass_comps pass_atts
#> 1   2019  LSU        SEC    15              27200        426       567
#>   net_pass_yds pass_TDs interceptions rush_atts rush_yds rush_TDs total_yds
#> 1         6024       61             7       513     2502       32      8526
#>   fumbles_lost turnovers first_downs third_downs third_down_convs
#> 1            5        12         419         183               90
#>   fourth_down_convs fourth_downs penalties penalty_yds kick_returns
#> 1                 7           10        93         936           23
#>   kick_return_yds kick_return_TDs punt_returns punt_return_yds punt_return_TDs
#> 1             291               0           22             252               2
#>   passes_intercepted passes_intercepted_yds passes_intercepted_TDs
#> 1                 17                     87                      0

   cfbd_stats_season_team(2013, team = "Florida State")
#>   season          team conference games time_of_poss_total pass_comps pass_atts
#> 1   2013 Florida State        ACC    14              24612        288       442
#>   net_pass_yds pass_TDs interceptions rush_atts rush_yds rush_TDs total_yds
#> 1         4423       42            13       505     2844       42      7267
#>   fumbles_lost turnovers first_downs third_downs third_down_convs
#> 1            5        18         357         157               82
#>   fourth_down_convs fourth_downs penalties penalty_yds kick_returns
#> 1                 3            4        79         694           32
#>   kick_return_yds kick_return_TDs punt_returns punt_return_yds punt_return_TDs
#> 1             873               2           37             340               0
#>   passes_intercepted passes_intercepted_yds passes_intercepted_TDs
#> 1                 26                    529                      5
# }