Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: nflfastR
Title: Functions to Efficiently Access NFL Play by Play Data
Version: 5.1.0.9004
Version: 5.1.0.9005
Authors@R:
c(person(given = "Sebastian",
family = "Carl",
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export(fast_scraper_roster)
export(fast_scraper_schedules)
export(load_pbp)
export(load_player_stats)
export(load_team_stats)
export(missing_raw_pbp)
export(nflverse_sitrep)
export(report)
Expand All @@ -28,6 +29,9 @@ import(dplyr)
import(fastrmodels)
importFrom(data.table,"%between%")
importFrom(data.table,"%chin%")
importFrom(nflreadr,load_pbp)
importFrom(nflreadr,load_player_stats)
importFrom(nflreadr,load_team_stats)
importFrom(nflreadr,nflverse_sitrep)
importFrom(rlang,"%||%")
importFrom(rlang,":=")
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Added the argument `pbp` to `calculate_stats()` to allow stats calculation based on subsets of nflverse play-by-play data. (#524)
- Fixed a bug where `calculate_stats()` didn't count 60 yard field goal attempts in `"fg_made_60_"` and `"fg_missed_60_"`. (#531)
- Fixed a bug where `clean_pbp()` did not provide a passer on plays where scrambles where manually adjusted based on data from Aaron Schatz. (#536)
- nflfastR now directly reexports nflreadr's `load_pbp()`, `load_player_stats()`, and `load_team_stats()`. This means that the functions can be called normally via nflfastR, but are no longer available in the documentation (whether in the R Help or on the pkgdown website). Instead, only links to nflreadr are included. This ensures that the documentation is always up to date. (#538)

# nflfastR 5.1.0

Expand Down
12 changes: 0 additions & 12 deletions R/load_pbp.R

This file was deleted.

30 changes: 0 additions & 30 deletions R/load_player_stats.R

This file was deleted.

15 changes: 15 additions & 0 deletions R/nflfastR-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,18 @@
#' @importFrom xgboost getinfo
## usethis namespace: end
NULL


# Re-Exports --------------------------------------------------------------

#' @importFrom nflreadr load_pbp
#' @export
nflreadr::load_pbp

#' @importFrom nflreadr load_player_stats
#' @export
nflreadr::load_player_stats

#' @importFrom nflreadr load_team_stats
#' @export
nflreadr::load_team_stats
2 changes: 1 addition & 1 deletion man/calculate_player_stats.Rd

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

2 changes: 1 addition & 1 deletion man/calculate_player_stats_def.Rd

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

41 changes: 0 additions & 41 deletions man/load_pbp.Rd

This file was deleted.

36 changes: 0 additions & 36 deletions man/load_player_stats.Rd

This file was deleted.

18 changes: 18 additions & 0 deletions man/reexports.Rd

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

Loading