Skip to contents

A function to load the Canadian Elite Basketball League (CEBL) team boxscores.

Usage

load_cebl_team_boxscores(seasons = NULL)

Arguments

seasons

A vector of seasons (years) to filter the data.

Value

A data frame containing the CEBL team boxscores for the specified seasons.

Column NameType
game_iddbl
seasondbl
team_namechr
short_namechr
codechr
team_scoredbl
minuteschr
field_goals_madedbl
field_goals_attempteddbl
field_goal_percentagedbl
two_point_field_goals_madedbl
two_point_field_goals_attempteddbl
two_point__percentagedbl
three_point_field_goals_madedbl
three_point_field_goals_attempteddbl
three_point_percentagedbl
free_throws_madedbl
free_throws_attempteddbl
free_throw_percentagedbl
offensive_reboundsdbl
defensive_reboundsdbl
reboundsdbl
assistsdbl
stealsdbl
turnoversdbl
blocksdbl
blocks_receiveddbl
personal_foulsdbl
fouls_drawndbl
total_foulsdbl
bonus_foulsdbl
points_in_the_paintdbl
second_chance_pointsdbl
points_from_turnoversdbl
bench_pointsdbl
fast_break_pointsdbl
team_index_ratingdbl
team_index_rating_2dbl
team_index_rating_3dbl
team_index_rating_4dbl
team_index_rating_5dbl
team_index_rating_6dbl
team_index_rating_7dbl
team_foulsdbl
team_turnoversdbl
team_reboundsdbl
team_defensive_reboundsdbl
team_offensive_reboundsdbl
period_1_scoredbl
period_2_scoredbl
period_3_scoredbl
period_4_scoredbl
biggest_leaddbl
biggest_scoring_rundbl
time_leadingdbl
lead_changesdbl
times_scores_leveldbl
timeouts_leftdbl
head_coachchr
assistant_coach_1chr
assistant_coach_2chr
international_team_namechr
international_short_namechr
international_codechr
logochr
logo_t_urlchr
logo_t_sizechr
logo_t_heightdbl
logo_t_widthdbl
logo_t_bytesdbl
logo_s_urlchr
logo_s_sizechr
logo_s_heightdbl
logo_s_widthdbl
logo_s_bytesdbl

Examples

load_cebl_team_boxscores(2020:2021)
#> Rows: 1086 Columns: 75
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (14): team_name, short_name, code, minutes, head_coach, assistant_coach_...
#> dbl (60): game_id, season, team_score, field_goals_made, field_goals_attempt...
#> lgl  (1): logo
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.
#> # A tibble: 160 × 75
#>    game_id season team_name short_name code  team_score minutes field_goals_made
#>      <dbl>  <dbl> <chr>     <chr>      <chr>      <dbl> <chr>              <dbl>
#>  1 1716674   2020 Niagara … Niagara    NRL           97 200:00                36
#>  2 1716674   2020 Hamilton… Hamilton   HHB           85 200:00                27
#>  3 1716676   2020 Ottawa B… Blackjacks OBJ           71 200:00                24
#>  4 1716676   2020 Guelph N… Guelph     GNH           89 200:00                32
#>  5 1716679   2020 Saskatch… Saskatche… SKR           96 200:00                35
#>  6 1716679   2020 Niagara … Niagara    NRL           79 200:00                30
#>  7 1716681   2020 Edmonton… Edmonton   EDS          100 200:00                35
#>  8 1716681   2020 Fraser V… Fraser Va… FVB          113 200:00                40
#>  9 1716683   2020 Hamilton… Hamilton   HHB           97 200:00                33
#> 10 1716683   2020 Guelph N… Guelph     GNH           71 200:00                20
#> # ℹ 150 more rows
#> # ℹ 67 more variables: field_goals_attempted <dbl>,
#> #   field_goal_percentage <dbl>, two_point_field_goals_made <dbl>,
#> #   two_point_field_goals_attempted <dbl>, two_point_percentage <dbl>,
#> #   three_point_field_goals_made <dbl>,
#> #   three_point_field_goals_attempted <dbl>, three_point_percentage <dbl>,
#> #   free_throws_made <dbl>, free_throws_attempted <dbl>, …