From 65d78325069effdfce255a5f6bc13d7574193ff4 Mon Sep 17 00:00:00 2001 From: Tan Ho Date: Sat, 6 Aug 2022 10:05:23 -0400 Subject: [PATCH 1/6] bumpver --- DESCRIPTION | 2 +- NEWS.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index fcd5fa37..ed1c0dca 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: nflreadr Title: Download 'nflverse' Data -Version: 1.2.0.20 +Version: 1.3.0 Authors@R: c( person("Tan", "Ho", , "tan@tanho.ca", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-8388-5155")), diff --git a/NEWS.md b/NEWS.md index 5125a22d..3eed381a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,6 @@ -# nflreadr (development version) +# nflreadr 1.3.0 + +This release introduces several new data functions, some new utilities, and an array of data/function updates. ## New Data! @@ -38,6 +40,7 @@ - refactored all the loaders to use `load_from_url` as primary - fixed broken example in `load_ff_opportunity()` documentation. #117 +Thank you to [@albtree](https://github.com/albtree), [@john-b-edwards](https://github.com/john-b-edwards), [@mrcaseb](https://github.com/mrcaseb), [@pranavrajaram](https://github.com/pranavrajaram), [@tanho63](https://github.com/tanho63), and [@tpenney89](https://github.com/tpenney89) for their contributions and feedback on this release! --- From dd222ede6aa81048f6a2137498017250212ddeee Mon Sep 17 00:00:00 2001 From: Tan Ho Date: Sat, 6 Aug 2022 10:09:25 -0400 Subject: [PATCH 2/6] readme, cran-comments --- README.md | 82 ++++++++++++++++++++++-------------------------- cran-comments.md | 11 ++++--- 2 files changed, 44 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index cb321e1d..b2c1ce6a 100644 --- a/README.md +++ b/README.md @@ -60,52 +60,46 @@ The main functions of `nflreadr` are prefixed with `load_`. library(nflreadr) load_pbp(2021) -#> -- nflverse play by play ------------------------------------------------------- -#> i Data updated: 2022-03-18 00:40:27 EDT -#> # A tibble: 50,712 x 372 -#> pla~1 gam~2 old~3 hom~4 awa~5 sea~6 week pos~7 pos~8 def~9 sid~* yar~* gam~* -#> -#> 1 1 2021~ 2021~ TEN ARI REG 1 NA 2021~ -#> 2 40 2021~ 2021~ TEN ARI REG 1 TEN home ARI ARI 35 2021~ -#> 3 55 2021~ 2021~ TEN ARI REG 1 TEN home ARI TEN 75 2021~ -#> 4 76 2021~ 2021~ TEN ARI REG 1 TEN home ARI TEN 78 2021~ -#> 5 100 2021~ 2021~ TEN ARI REG 1 TEN home ARI TEN 75 2021~ -#> 6 122 2021~ 2021~ TEN ARI REG 1 TEN home ARI TEN 75 2021~ -#> 7 152 2021~ 2021~ TEN ARI REG 1 ARI away TEN ARI 61 2021~ -#> 8 181 2021~ 2021~ TEN ARI REG 1 ARI away TEN TEN 23 2021~ -#> 9 218 2021~ 2021~ TEN ARI REG 1 ARI away TEN TEN 31 2021~ -#> 10 253 2021~ 2021~ TEN ARI REG 1 ARI away TEN TEN 30 2021~ -#> # ... with 50,702 more rows, abbreviated variable names 1: play_id, 2: game_id, -#> # 3: old_game_id, 4: home_team, 5: away_team, 6: season_type, 7: posteam, -#> # 8: posteam_type, 9: defteam, *: side_of_field, *: yardline_100, -#> # *: game_date, and 359 more variables: quarter_seconds_remaining , -#> # half_seconds_remaining , game_seconds_remaining , -#> # game_half , quarter_end , drive , sp , qtr , -#> # down , goal_to_go , ... +#> ── nflverse play by play ─────────────────────────────────────────────────────── +#> ℹ Data updated: 2022-07-28 18:10:55 EDT +#> # A tibble: 50,712 × 372 +#> play_id game_id old_game_id home_team away_team season_type week posteam +#> +#> 1 1 2021_01_AR… 2021091207 TEN ARI REG 1 +#> 2 40 2021_01_AR… 2021091207 TEN ARI REG 1 TEN +#> 3 55 2021_01_AR… 2021091207 TEN ARI REG 1 TEN +#> 4 76 2021_01_AR… 2021091207 TEN ARI REG 1 TEN +#> 5 100 2021_01_AR… 2021091207 TEN ARI REG 1 TEN +#> 6 122 2021_01_AR… 2021091207 TEN ARI REG 1 TEN +#> 7 152 2021_01_AR… 2021091207 TEN ARI REG 1 ARI +#> 8 181 2021_01_AR… 2021091207 TEN ARI REG 1 ARI +#> 9 218 2021_01_AR… 2021091207 TEN ARI REG 1 ARI +#> 10 253 2021_01_AR… 2021091207 TEN ARI REG 1 ARI +#> # … with 50,702 more rows, and 364 more variables: posteam_type , +#> # defteam , side_of_field , yardline_100 , game_date , +#> # quarter_seconds_remaining , half_seconds_remaining , +#> # game_seconds_remaining , game_half , quarter_end , … load_player_stats(2021) -#> -- nflverse player stats: offense ---------------------------------------------- -#> i Data updated: 2022-03-09 15:34:12 EST -#> # A tibble: 5,698 x 48 -#> pla~1 pla~2 rec~3 sea~4 week sea~5 com~6 att~7 pas~8 pas~9 int~* sacks sac~* -#> -#> 1 00-0~ T.Br~ TB 2021 1 REG 32 50 379 4 2 0 0 -#> 2 00-0~ T.Br~ TB 2021 2 REG 24 36 276 5 0 3 17 -#> 3 00-0~ T.Br~ TB 2021 3 REG 41 55 432 1 0 3 21 -#> 4 00-0~ T.Br~ TB 2021 4 REG 22 43 269 0 0 1 8 -#> 5 00-0~ T.Br~ TB 2021 5 REG 30 41 411 5 0 2 15 -#> 6 00-0~ T.Br~ TB 2021 6 REG 34 42 297 2 1 0 0 -#> 7 00-0~ T.Br~ TB 2021 7 REG 20 36 211 4 0 0 0 -#> 8 00-0~ T.Br~ TB 2021 8 REG 28 40 375 4 2 3 25 -#> 9 00-0~ T.Br~ TB 2021 10 REG 23 34 220 2 2 0 0 -#> 10 00-0~ T.Br~ TB 2021 11 REG 30 46 307 2 1 0 0 -#> # ... with 5,688 more rows, abbreviated variable names 1: player_id, -#> # 2: player_name, 3: recent_team, 4: season, 5: season_type, 6: completions, -#> # 7: attempts, 8: passing_yards, 9: passing_tds, *: interceptions, -#> # *: sack_yards, and 35 more variables: sack_fumbles , -#> # sack_fumbles_lost , passing_air_yards , -#> # passing_yards_after_catch , passing_first_downs , -#> # passing_epa , passing_2pt_conversions , pacr , ... +#> ── nflverse player stats: offense ────────────────────────────────────────────── +#> ℹ Data updated: 2022-07-28 18:18:44 EDT +#> # A tibble: 5,698 × 48 +#> player_id player_name recent_team season week season_type completions +#> +#> 1 00-0019596 T.Brady TB 2021 1 REG 32 +#> 2 00-0019596 T.Brady TB 2021 2 REG 24 +#> 3 00-0019596 T.Brady TB 2021 3 REG 41 +#> 4 00-0019596 T.Brady TB 2021 4 REG 22 +#> 5 00-0019596 T.Brady TB 2021 5 REG 30 +#> 6 00-0019596 T.Brady TB 2021 6 REG 34 +#> 7 00-0019596 T.Brady TB 2021 7 REG 20 +#> 8 00-0019596 T.Brady TB 2021 8 REG 28 +#> 9 00-0019596 T.Brady TB 2021 10 REG 23 +#> 10 00-0019596 T.Brady TB 2021 11 REG 30 +#> # … with 5,688 more rows, and 41 more variables: attempts , +#> # passing_yards , passing_tds , interceptions , sacks , +#> # sack_yards , sack_fumbles , sack_fumbles_lost , +#> # passing_air_yards , passing_yards_after_catch , … ``` ## Data Sources diff --git a/cran-comments.md b/cran-comments.md index dfe3bc8e..2bcf79db 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,10 +1,10 @@ ## SUBMISSION ## Test environments -* local windows R installation, R 4.1.0 -* windows (on Github Actions), R 4.1.0 -* macOS (on Github Actions), R 4.1.0 -* ubuntu 20.04 (on GitHub Actions), R 4.1.0 +* local windows R installation, R 4.2.0 +* windows (on GitHub Actions), R 4.2.1 +* macOS (on GitHub Actions), R 4.2.1 +* ubuntu 20.04 (on GitHub Actions), R 4.2.1 * ubuntu 20.04 (on GitHub Actions), R 3.6.0 * ubuntu 20.04 (on GitHub Actions), R devel @@ -14,7 +14,8 @@ ## Reverse dependencies -We checked 6 reverse dependencies (6 from CRAN + 0 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. +We checked 6 reverse dependencies (6 from CRAN + 0 from Bioconductor), +comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 0 packages From eb55ec8783193d99cc28e34b38590b2e12d4fe89 Mon Sep 17 00:00:00 2001 From: Tan Ho Date: Sat, 6 Aug 2022 10:13:49 -0400 Subject: [PATCH 3/6] add revdepchecks --- cran-comments.md | 2 +- revdep/README.md | 58 +++++++++++++++++++++++---------------------- revdep/cran.md | 2 +- revdep/data.sqlite | Bin 94208 -> 126976 bytes 4 files changed, 32 insertions(+), 30 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index 2bcf79db..d92c7a59 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -14,7 +14,7 @@ ## Reverse dependencies -We checked 6 reverse dependencies (6 from CRAN + 0 from Bioconductor), +We checked 7 reverse dependencies (7 from CRAN + 0 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems diff --git a/revdep/README.md b/revdep/README.md index d99638c0..0fbb568e 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,36 +1,38 @@ # Platform -|field |value | -|:--------|:----------------------------| -|version |R version 4.1.0 (2021-05-18) | -|os |Windows 10 x64 | -|system |x86_64, mingw32 | -|ui |RStudio | -|language |(EN) | -|collate |English_Canada.1252 | -|ctype |English_Canada.1252 | -|tz |America/New_York | -|date |2022-03-16 | +|field |value | +|:--------|:---------------------------------------------------------------------| +|version |R version 4.2.0 (2022-04-22 ucrt) | +|os |Windows 10 x64 (build 19044) | +|system |x86_64, mingw32 | +|ui |RStudio | +|language |(EN) | +|collate |English_Canada.utf8 | +|ctype |English_Canada.utf8 | +|tz |America/New_York | +|date |2022-08-06 | +|rstudio |2022.06.0-daily+477 Spotted Wakerobin (desktop) | +|pandoc |2.18 @ C:/Program Files/RStudio/bin/quarto/bin/tools/ (via rmarkdown) | # Dependencies -|package |old |new | | -|:-------------|:-------|:-------|:--| -|nflreadr |1.1.3 |1.2.0 |* | -|cachem |1.0.6 |1.0.6 | | -|cli |3.2.0 |3.2.0 | | -|curl |4.3.2 |4.3.2 | | -|data.table |1.14.2 |1.14.2 | | -|fastmap |1.1.0 |1.1.0 | | -|glue |1.6.2 |1.6.2 | | -|memoise |2.0.1 |2.0.1 | | -|qs |0.25.3 |0.25.3 | | -|RApiSerialize |0.1.0 |0.1.0 | | -|rappdirs |0.3.3 |0.3.3 | | -|Rcpp |1.0.8.2 |1.0.8.2 | | -|RcppParallel |5.1.5 |5.1.5 | | -|rlang |1.0.2 |1.0.2 | | -|stringfish |0.15.5 |0.15.5 | | +|package |old |new |Δ | +|:-------------|:------|:------|:--| +|nflreadr |1.2.0 |1.3.0 |* | +|cachem |1.0.6 |1.0.6 | | +|cli |3.3.0 |3.3.0 | | +|curl |4.3.2 |4.3.2 | | +|data.table |1.14.2 |1.14.2 | | +|fastmap |1.1.0 |1.1.0 | | +|glue |1.6.2 |1.6.2 | | +|memoise |2.0.1 |2.0.1 | | +|qs |0.25.3 |NA |* | +|RApiSerialize |0.1.0 |NA |* | +|rappdirs |0.3.3 |0.3.3 | | +|Rcpp |1.0.9 |NA |* | +|RcppParallel |5.1.5 |NA |* | +|rlang |1.0.4 |1.0.4 | | +|stringfish |0.15.7 |NA |* | # Revdeps diff --git a/revdep/cran.md b/revdep/cran.md index 38c067b7..cb4fb435 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,6 +1,6 @@ ## revdepcheck results -We checked 6 reverse dependencies (0 from CRAN + 6 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. +We checked 7 reverse dependencies (0 from CRAN + 7 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 0 packages diff --git a/revdep/data.sqlite b/revdep/data.sqlite index 63d42760ad3b4a39f85cc99631e9ea74d2d47663..8a190104b20a73d2beb24c1829928da9c60f351f 100644 GIT binary patch literal 126976 zcmeHwU2GgzmY!t!XZ#~`XC@wH;y81c#)6ba{ohSCdpv?EQL;IfC{0uL%*J%+>gww5 zGOMe4tExrOj*%H;6D0ez54#A0DeG(u53_gm-ApFj7m z5a-UFTgLDA@T-1a#FyvQ1wPLwzGr=1K3Dv>aS?Z)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M5|ju9SiBY)60|HpTne*U|_8zdXc89#!^+11ZDVOi~UR1 z*ONht{L~4vc)rvKlGP234>YU{aDgBl@Co~Fwg0V>(jr3!jaDR!0ulv9AI98(jP0ar z35+M@ok`72)p0?Ee<5gmUqO1JzqV+cqIop|NmPKUAYC8sF9C<#PvhUWlqXY&xVH@4 z4S$)))JNemF4(^@*1H~j5Uu}y7el5Tg>@va7Q+A82Km-_$r8wFCf$nw0UtZI2v#vJ z!6WjV$XC*jEEC5us34&_@Eh#{$Lp1%SgG*ji#qV)qf1&zXd2{@ZdzW$LnLD+IPm^u z6UdmEV2k~*3`$dCDbiC9i$|>>s+aDDhD<~wEQpnK-4E_jFG%ddddMFHllg zWkD+mo~CFVK0bhk<19sE)2^|^IEnr6amvs*33aygttRKp^sSL_XL|Nag7aExoG6Ir zSA17V?pOzti|O7*l@Ss}q)JFvhx?TVhTK0%QSnyNOT{OR+lO z<7PT;cZXV5P${CK& Date: Sat, 6 Aug 2022 10:18:58 -0400 Subject: [PATCH 4/6] cran submission --- CRAN-SUBMISSION | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION new file mode 100644 index 00000000..f9ca01cc --- /dev/null +++ b/CRAN-SUBMISSION @@ -0,0 +1,3 @@ +Version: 1.3.0 +Date: 2022-08-06 14:18:22 UTC +SHA: eb55ec8783193d99cc28e34b38590b2e12d4fe89 From 9e3788b0c16a34ae5dba0483c27b79ee4b782c0e Mon Sep 17 00:00:00 2001 From: Tan Ho <38083823+tanho63@users.noreply.github.com> Date: Sat, 6 Aug 2022 11:01:55 -0400 Subject: [PATCH 5/6] url cleanup of overthecap Update load_contracts.Rd Update load_contracts.R gah otc --- NEWS.md | 2 +- R/load_contracts.R | 2 +- cran-comments.md | 4 +++- man/load_contracts.Rd | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS.md b/NEWS.md index 3eed381a..20f4f777 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,7 +5,7 @@ This release introduces several new data functions, some new utilities, and an a ## New Data! - `load_participation()` returns new play-level information about what players are on the field, how many players are in the box, and what formation the offense is using. Data from NGS starting 2016 and onward -- `load_contracts()` downloads (historical) player contracts from [OverTheCap.com](https://overthecap.com/contract-history/) +- `load_contracts()` downloads (historical) player contracts from [OverTheCap.com](https://overthecap.com/contract-history) - `load_players()` returns player-level information and is the new recommended source (over rosters) for IDs, positions, birthdates etc. - `load_rosters_weekly()` provides week-by-week team rosters dating back to 2002. - `load_officials()` returns game-level information about which officials are assigned to specific games. diff --git a/R/load_contracts.R b/R/load_contracts.R index 9d44e2a3..5e633c64 100644 --- a/R/load_contracts.R +++ b/R/load_contracts.R @@ -14,7 +14,7 @@ #' #' @return A tibble of active and non-active NFL player contracts. #' -#' @seealso for a web version of the data +#' @seealso for a web version of the data #' @seealso for a web version of the dictionary #' @seealso [`dictionary_contracts`] for the data dictionary as bundled within the package #' @seealso Issues with this data should be filed here: diff --git a/cran-comments.md b/cran-comments.md index d92c7a59..37d56c16 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,4 +1,6 @@ -## SUBMISSION +## RESUBMISSION + +Resubmit to correct URL-related issues. ## Test environments * local windows R installation, R 4.2.0 diff --git a/man/load_contracts.Rd b/man/load_contracts.Rd index fb4a9863..64d965b4 100644 --- a/man/load_contracts.Rd +++ b/man/load_contracts.Rd @@ -25,7 +25,7 @@ try({ # prevents cran errors } \seealso{ -\url{https://overthecap.com/contract-history/} for a web version of the data +\url{https://overthecap.com/contract-history} for a web version of the data \url{https://nflreadr.nflverse.com/articles/dictionary_contracts.html} for a web version of the dictionary From 9b04abad59d06a076b3f4acc6bc6688c6230f405 Mon Sep 17 00:00:00 2001 From: Tan Ho Date: Sat, 6 Aug 2022 16:48:53 -0400 Subject: [PATCH 6/6] cran approval --- CRAN-SUBMISSION | 3 --- cran-comments.md | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION deleted file mode 100644 index f9ca01cc..00000000 --- a/CRAN-SUBMISSION +++ /dev/null @@ -1,3 +0,0 @@ -Version: 1.3.0 -Date: 2022-08-06 14:18:22 UTC -SHA: eb55ec8783193d99cc28e34b38590b2e12d4fe89 diff --git a/cran-comments.md b/cran-comments.md index 37d56c16..25ee05c4 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,6 +1,6 @@ ## RESUBMISSION -Resubmit to correct URL-related issues. +Resubmit to correct URL-redirection issues. ## Test environments * local windows R installation, R 4.2.0