Skip to content

Commit

Permalink
namespace the season validation function
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcaseb committed Oct 8, 2024
1 parent c7f94c0 commit 9382d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/00_update_season_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ if (type == "roster"){
if (Sys.Date() %in% nflverse.players:::.draft_date_range()){
out <- nflverse.players::.draft_release_season(years = season)
}
} else if (type == "raw_pff" && .pff_is_valid_season(season)){
} else if (type == "raw_pff" && nflverse.players:::.pff_is_valid_season(season)){
out <- nflverse.players::.pff_release_raw_players(seasons = season)
}

0 comments on commit 9382d07

Please sign in to comment.