Skip to content

Commit

Permalink
Add "NFL" to team name mapping (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcaseb authored Dec 12, 2023
1 parent 5c12c11 commit 9c6a865
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: nflreadr
Title: Download 'nflverse' Data
Version: 1.4.0.09
Version: 1.4.0.10
Authors@R: c(
person("Tan", "Ho", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8388-5155")),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Internal changes to `load_espn_qbr()` to align with nflverse infrastructure design. Also dropped the argument "league" which used to allow loading of College QBR. That's outside of the nflverse scope. (#222)
- Add new function `stat_mode()`, a re-export from nflfastR, which computes the statistical mode of a vector. (#224)
- The function `load_ftn_charting()` now accepts the argument `file_type`. (#228)
- The function `clean_team_abbrs()` now accepts the "team" name "NFL". (#231)

---

Expand Down
3 changes: 2 additions & 1 deletion data-raw/build_teamplayer_mappings.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ teams <- csv_from_url("https://github.com/nflverse/nfldata/raw/master/data/teams
"LAC","SD",
"SD","SDC",
"AFC", "AFC",
"NFC", "NFC"
"NFC", "NFC",
"NFL", "NFL"
)
) %>%
arrange(alternate)
Expand Down
Binary file modified data/team_abbr_mapping.rda
Binary file not shown.
Binary file modified data/team_abbr_mapping_norelocate.rda
Binary file not shown.

0 comments on commit 9c6a865

Please sign in to comment.