Skip to content

Commit

Permalink
version 0.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rtelmore authored and cran-robot committed Jun 25, 2023
1 parent 88ff9f5 commit 03d99b7
Show file tree
Hide file tree
Showing 15 changed files with 263 additions and 17 deletions.
14 changes: 6 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
Package: ISAR
Type: Package
Title: Introduction to Sports Analytics using R (ISAR) Data
Version: 0.1.10
Version: 0.1.11
Authors@R: c(
person("Ryan", "Elmore", email = "Ryan.Elmore@du.edu", role = c("cre", "aut")),
person("Andrew", "Urbaczewski", email = "Andrew.Urbaczewski@du.edu", role = "aut"))
person("Ryan", "Elmore", email = "Ryan.Elmore@du.edu", role = c("cre", "aut")))
Maintainer: Ryan Elmore <Ryan.Elmore@du.edu>
Description: We provide data sets used in the forthcoming textbook "Introduction to Sports Analytics using R" by Elmore and Urbaczweski (2024). The package currently contains sixteen datasets and should be published in early 2024.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Depends: R (>= 2.10)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.3
URL: https://github.com/rtelmore/ISAR
BugReports: https://github.com/rtelmore/ISAR/issues
NeedsCompilation: no
Packaged: 2023-05-09 04:17:17 UTC; Ryan
Author: Ryan Elmore [cre, aut],
Andrew Urbaczewski [aut]
Packaged: 2023-06-25 20:17:46 UTC; Ryan
Author: Ryan Elmore [cre, aut]
Repository: CRAN
Date/Publication: 2023-05-09 17:00:02 UTC
Date/Publication: 2023-06-25 20:40:03 UTC
19 changes: 14 additions & 5 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
f49377e797f9a775caf011ab15bb842b *DESCRIPTION
26f85264fc0824553ea8850d7b1c86b6 *DESCRIPTION
0df196d66db503b1604e1a31f9503087 *LICENSE
dc21c19f0d6968ee25d441b2cf46017d *NAMESPACE
1b1ddde9fa4eb50b347036e4aeccc290 *NEWS.md
d7d6ea0a0af220f63745698b2b21e247 *NEWS.md
c35f4bccd5f3d5bd2f357dfa76fc68b4 *R/avs_roster_2021.R
29371d3c8095852150f89b046e44d267 *R/avs_stats_2021.R
465634a47c1d860b16bb0fe93d9649a6 *R/draftkings-lac-dal.R
Expand All @@ -11,9 +11,12 @@ c35f4bccd5f3d5bd2f357dfa76fc68b4 *R/avs_roster_2021.R
1ca646e496d1ed204e087a7cb006d277 *R/epl_team_stats.R
83c9c7cacbf1659170b5bb7d64a6a477 *R/masters.R
99401826d3b56994fbdef863778334ee *R/nba_advanced_team_2021.R
9a18d1460e3471a4437d854869bf5952 *R/nba_advanced_team_2023.R
7b11831a16317f0f261af3b333622f9b *R/nba_four_factors_team_2021.R
cafdc8afefb9383f95b33c72329ab1ce *R/nba_four_factors_team_2023.R
1165dfa7cc83281519f12f700cc064fa *R/nba_games_2021.R
df5dec2fe7bc452f2dc2b5137cd8b8b5 *R/nba_nuggets_shots.R
e90c3205d4bddad4ed4f61651612218f *R/nba_games_2023.R
0f1380809f03a94d326cd5fc8e48b8a5 *R/nba_nuggets_shots.R
54fd6c2ea093837088393cc92696e770 *R/nhl_team_stats_2021.R
0b8548d3a5616c22c99e45db4ac0be35 *R/nwsl_player_stats.R
5b18b7747b8517f3d86bbf5fd16f2853 *R/ow_golf_rankings.R
Expand All @@ -28,9 +31,12 @@ a582ddee9dbb5026d921c10ef9ac8268 *data/epl_player_stats_2022.rda
402baee8252655e6c514a5bf9ce316cf *data/epl_team_stats.rda
d11590b25fda46d4767e98368756a01c *data/masters.rda
f4ba24ba9a99d43e3d40c8c805f17520 *data/nba_adv_team_2021.rda
c4f78e7ec94b8ee097bcb901efcd8007 *data/nba_adv_team_2023.rda
479b7323526020e9eb0df0bcb91e2c9b *data/nba_ff_team_2021.rda
da1780187c0165d71e20a454b73dda20 *data/nba_ff_team_2023.rda
f1b0c4ea7b28b8c0353db22a71db827d *data/nba_games_2021.rda
d243ec5eb25c4b8794837aa9746e7b6e *data/nba_nuggets_shots.rda
4792b07d135ff7d7f7d2ff71859c0b4a *data/nba_games_2023.rda
0b8cd1bd4cfa6e93444fbc7d2caa36c2 *data/nba_nuggets_shots.rda
85b75da2e54bf266cc836cfd92844331 *data/nhl_team_stats_2021.rda
6bcb36f53aae9ffe03180dc999612646 *data/nwsl_player_stats.rda
8430a9658aad9c9d1ebcfec05ae96c46 *data/ow_golf_rankings.rda
Expand All @@ -45,9 +51,12 @@ e536c947bbf6e131df1fdd9bbc8c9ab7 *man/epl_player_stats_2022.Rd
c40a123fdb0e47b988c232a629361d42 *man/epl_team_stats.Rd
b874d211c856556da3ece37dac06b1c4 *man/masters.Rd
f43216bdaa469183b0fa0f9547953fa1 *man/nba_adv_team_2021.Rd
01f30eaaad2033e3f8989a4ca0b542c9 *man/nba_adv_team_2023.Rd
3ed66337103959ebac3ab44871c2b521 *man/nba_ff_team_2021.Rd
057fcbed464ecdcae0d03924e5a7cade *man/nba_ff_team_2023.Rd
d00cf9c48fcf7b51fc7a7dba9f824467 *man/nba_games_2021.Rd
3b2fb0a36101ae200e4e137cdc1cd41d *man/nba_nuggets_shots.Rd
354ee841e3e2ce390eef8a25f3425cce *man/nba_games_2023.Rd
8c55d562353df3dd62fd6c7a203c5430 *man/nba_nuggets_shots.Rd
eb08b83d6b086f5a0b2df928fd174ec0 *man/nhl_team_stats_2021.Rd
28b66b7fc032603b52ff1bb689909278 *man/nwsl_player_stats.Rd
2d746c6cdadb533cbb233ca31e0a131a *man/ow_golf_rankings.Rd
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ISAR 0.1.11

* Added three updated NBA files
* The textbook is still unpublished and is why there is no reference in the description field of DESCRIPTION. We are trying to make the R package available to book reviewers.

# ISAR 0.1.10

* Added a `NEWS.md` file to track changes to the package.
38 changes: 38 additions & 0 deletions R/nba_advanced_team_2023.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#' NBA Advanced Statistics (Team) for the 2022-23 Season
#'
#' A dataset containing the NBA Four Factor table on nba.com
#'
#' @format A data frame with 2460 rows and 29 variables:
#' \describe{
#' \item{game_id}{Game ID on nba.com}
#' \item{team_id}{Team ID on nba.com}
#' \item{team_name}{Team name}
#' \item{team_abbreviation}{Team abbreviation}
#' \item{team_city}{Team city}
#' \item{min}{Total minutes in the game}
#' \item{e_off_rating}{offensive rating (effective ?)}
#' \item{off_rating}{offensive rating}
#' \item{e_def_rating}{defensive rating (effective ?)}
#' \item{def_rating}{defensive rating}
#' \item{e_net_rating}{net rating (effective ?)}
#' \item{net_rating}{net rating}
#' \item{ast_pct}{Assist percentage}
#' \item{ast_tov}{Assists to turnover ratio}
#' \item{ast_ratio}{Assist ratio}
#' \item{oreb_pct}{Offensive rebound percentage}
#' \item{dreb_pct}{Defensive rebound percentage}
#' \item{reb_pct}{Total rebound percentage}
#' \item{e_tm_tov_pct}{Turnover percentage (effective?)}
#' \item{tm_tov_pct}{Turnover percentage}
#' \item{efg_pct}{Effective field goal percentage}
#' \item{ts_pct}{True Shooting percentage}
#' \item{usg_pct}{Usage percentage}
#' \item{e_usg_pct}{Usage percentage (effective?)}
#' \item{e_pace}{pace (effective ?)}
#' \item{pace}{pace}
#' \item{pace_per40}{pace per forty minutes}
#' \item{poss}{team possessions in game}
#' \item{pie}{Player impact estimate}
#' }
#' @source \url{http://asbcllc.com/nbastatR/reference/box_scores.html}
"nba_adv_team_2023"
23 changes: 23 additions & 0 deletions R/nba_four_factors_team_2023.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#' NBA Four Factors (Team) for the 2020-21 Season
#'
#' A dataset containing the NBA Four Factor table on nba.com
#'
#' @format A data frame with 2460 rows and 14 variables:
#' \describe{
#' \item{game_id}{Game ID on nba.com}
#' \item{team_id}{Team ID on nba.com}
#' \item{team_name}{Team name on nba.com}
#' \item{team_abbreviation}{Team abbreviation on nba.com}
#' \item{team_city}{Team city}
#' \item{min}{Minutes in the game}
#' \item{efg_pct}{Effective field goal percentage}
#' \item{fta_rate}{Free throw rate of team}
#' \item{tm_tov_pct}{Turnover percentage of opponent}
#' \item{oreb_pct}{Offensive rebound percentage of opponent}
#' \item{opp_efg_pct}{Effective field goal percentage of opponent}
#' \item{opp_fta_rate}{Free throw rate of opponent}
#' \item{opp_tov_pct}{Turnover percentage of opponent}
#' \item{opp_oreb_pct}{Offensive rebound percentage of opponent}
#' }
#' @source \url{http://asbcllc.com/nbastatR/reference/box_scores.html}
"nba_ff_team_2023"
38 changes: 38 additions & 0 deletions R/nba_games_2023.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#' NBA Game Logs for the 2022-23 Season
#'
#' A dataset containing the NBA Games table on nba.com
#'
#' @format A data frame with 2460 rows and 29 variables:
#' \describe{
#' \item{season_id}{Season in which the game was played (YYYY)}
#' \item{team_id}{Team ID on nba.com}
#' \item{team_abbreviation}{Team abbreviation on nba.com}
#' \item{team_name}{Team name on nba.com}
#' \item{game_id}{Game ID on nba.com}
#' \item{game_date}{Date in YYYY-MM-DD}
#' \item{matchup}{Team One vs. Team Two}
#' \item{wl}{Win or Loss}
#' \item{min}{Minutes in the game}
#' \item{fgm}{Team Field goals made}
#' \item{fga}{Team Field goal attempts}
#' \item{fg_pct}{Team field goal percentage}
#' \item{fg3m}{Team three point field goals made}
#' \item{fg3a}{Team three point field goal attempts}
#' \item{fg3_pct}{Team three point field goal percentage}
#' \item{ftm}{Team free throws made}
#' \item{fta}{Team free throw attempts}
#' \item{ft_pct}{Team free throw percentage}
#' \item{oreb}{Team offensive rebounds}
#' \item{dreb}{Team defensive rebounds}
#' \item{reb}{Team total rebounds}
#' \item{ast}{Team total assists}
#' \item{stl}{Team total steals}
#' \item{blk}{Team total blocks}
#' \item{tov}{Team total turnovers}
#' \item{pf}{Team total personal fouls}
#' \item{pts}{Team total points scored}
#' \item{plus_minus}{Margin of game as Team score minus Opponent score}
#' \item{video_available}{Logical if game video exists}
#' }
#' @source \url{http://asbcllc.com/nbastatR/reference/game_logs.html}
"nba_games_2023"
4 changes: 2 additions & 2 deletions R/nba_nuggets_shots.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#' 2014/5 - 2020/21 Shot Data for the NBA's Denver Nuggets
#' 2014/5 - 2022/23 Shot Data for the NBA's Denver Nuggets
#'
#' A dataset containing seven seasons of Denver Nuggets shot data from NBA.com
#'
#' @format A data frame with 48029 rows and 27 variables:
#' @format A data frame with 62196 rows and 27 variables:
#' \describe{
#' \item{yearSeason}{Season in which the game was played (YYYY)}
#' \item{slugSeason}{Season in which the game was played (YYYY-YY)}
Expand Down
Binary file added data/nba_adv_team_2023.rda
Binary file not shown.
Binary file added data/nba_ff_team_2023.rda
Binary file not shown.
Binary file added data/nba_games_2023.rda
Binary file not shown.
Binary file modified data/nba_nuggets_shots.rda
Binary file not shown.
50 changes: 50 additions & 0 deletions man/nba_adv_team_2023.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions man/nba_ff_team_2023.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions man/nba_games_2023.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/nba_nuggets_shots.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 03d99b7

Please sign in to comment.