Skip to content

Commit

Permalink
fixing postseason DC issue #26 (#27)
Browse files Browse the repository at this point in the history
* fixing postseason DC issue #26

* Automated roster updates Thu Jan 13 07:19:05 UTC 2022

* Automated depth chart updates Thu Jan 13 07:22:20 UTC 2022

* Automated roster updates Fri Jan 14 07:18:47 UTC 2022

* Automated depth chart updates Fri Jan 14 07:21:44 UTC 2022

* Automated roster updates Sat Jan 15 07:17:53 UTC 2022

* Automated depth chart updates Sat Jan 15 07:21:31 UTC 2022

* fixing issue where postseason injuries broke update-injuries script

weeks now represented correctly in historical injury data additionally

Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: Tan Ho <38083823+tanho63@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 15, 2022
1 parent 066d151 commit 8e9b8d6
Show file tree
Hide file tree
Showing 46 changed files with 2 additions and 2 deletions.
Binary file modified data/nflfastR-depth_charts.csv.gz
Binary file not shown.
Binary file modified data/nflfastR-depth_charts.qs
Binary file not shown.
Binary file modified data/nflfastR-depth_charts.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2001.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2001.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2002.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2002.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2003.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2003.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2004.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2004.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2005.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2005.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2006.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2006.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2007.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2007.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2008.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2008.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2009.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2009.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2010.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2010.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2011.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2011.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2012.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2012.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2013.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2013.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2014.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2014.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2015.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2015.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2016.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2016.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2017.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2017.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2018.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2018.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2019.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2019.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2020.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2020.rds
Binary file not shown.
Binary file modified data/seasons/depth_charts_2021.csv.gz
Binary file not shown.
Binary file modified data/seasons/depth_charts_2021.rds
Binary file not shown.
4 changes: 2 additions & 2 deletions src/update-depth-charts.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ if (nrow(dc_df) > 0){
),
full_name = paste(FootballName, LastName),
dplyr::across(c(Season, Week, DepthTeam, JerseyNumber), as.integer),
Week = dplyr::case_when(SeasonType == 'POST' ~ as.integer(Week) + max(as.integer(Week[SeasonType == 'REG'])),
T~as.integer(Week)),
# Week = dplyr::case_when(SeasonType == 'POST' ~ as.integer(Week) + max(as.integer(Week[SeasonType == 'REG'])),
# T~as.integer(Week)),
) |>
dplyr::select(
season = Season,
Expand Down

0 comments on commit 8e9b8d6

Please sign in to comment.