Closed Josephhero closed 1 year ago
PFR seems to be messing up home and away in almost all super bowls. But they fixed it at some point in the offseason. I rescraped it and it's fine now.
nflreadr::load_snap_counts(seasons = 2022) |>
dplyr::filter(week == 22) |>
dplyr::filter(player %in% c('Patrick Mahomes', 'Jalen Hurts')) |>
dplyr::select(
game_id, player, pfr_player_id, team, opponent
)
#> ── nflverse snap counts ────────────────────────────────────────────────────────
#> ℹ Data updated: 2023-08-28 16:57:43 CEST
#> # A tibble: 2 × 5
#> game_id player pfr_player_id team opponent
#> <chr> <chr> <chr> <chr> <chr>
#> 1 2022_22_KC_PHI Jalen Hurts HurtJa00 PHI KC
#> 2 2022_22_KC_PHI Patrick Mahomes MahoPa00 KC PHI
Created on 2023-08-28 with reprex v2.0.2
Is there an existing issue for this?
Have you installed the latest development version of the package(s) in question?
What version of the package do you have?
nflreadr: 1.3.2
Describe the bug
The
load_snap_counts()
function is returning the wrong teams for the 2022 Super Bowl between Chiefs and Eagles. The team and opponent fields are flipped (Chiefs players listed as eagles, eagles listed as chiefs).Reprex
Created on 2023-02-16 with reprex v2.0.2
Screenshots
No response
Additional context
No response