Skip to content

Commit

Permalink
Season level stats (#94)
Browse files Browse the repository at this point in the history
* season level offense stats

* season level def stats

* season level kicking stats

* fix incorrect object names

* more incorrect object names

* allow public rspm and add nflverse dev repo
to install dev versions of nflverse packages

* renaming objects is so stupid smh

* We have to add the season manually
as nflfastR doesn't do this by default
  • Loading branch information
mrcaseb authored Aug 12, 2024
1 parent a2bb491 commit 29ec73e
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 27 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/update_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: 'https://nflverse.r-universe.dev'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 1
extra-packages: |
nflverse/nflfastR
nflverse/nflreadr
nflverse/nflverse-data
nflverse/fastrmodels
ropensci/piggyback
- name: Release ${{ matrix.type }}
run: Rscript -e 'source("R/update_data.R")'
Expand All @@ -93,14 +93,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: 'https://nflverse.r-universe.dev'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 1
extra-packages: |
nflverse/nflfastR
nflverse/nflreadr
nflverse/nflverse-data
nflverse/fastrmodels
ropensci/piggyback
- name: Release ${{ matrix.type }}
run: Rscript -e 'source("R/update_data.R")'
Expand All @@ -119,14 +119,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: 'https://nflverse.r-universe.dev'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 1
extra-packages: |
nflverse/nflfastR
nflverse/nflreadr
nflverse/nflverse-data
nflverse/fastrmodels
ropensci/piggyback
- name: Release ${{ matrix.type }}
run: Rscript -e 'source("R/update_data.R")'
Loading

0 comments on commit 29ec73e

Please sign in to comment.