Skip to content

Commit

Permalink
Merge pull request #356 from JaseZiv/fix-355
Browse files Browse the repository at this point in the history
Fix bug with retrieving opponent team stats with `fb_league_stats`
  • Loading branch information
JaseZiv committed Jan 17, 2024
2 parents 2bc2606 + 9dbdf4b commit dbd52b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: worldfootballR
Title: Extract and Clean World Football (Soccer) Data
Version: 0.6.5
Version: 0.6.5.0001
Authors@R: c(
person("Jason", "Zivkovic", , "jaseziv83@gmail.com", role = c("aut", "cre", "cph")),
person("Tony", "ElHabr", , "anthonyelhabr@gmail.com", role = "ctb"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# worldfootballR (development version)

### Bugs

* `fb_league_stats()` not returning `opponent` table. (0.6.5.0001) [#355](https://github.com/JaseZiv/worldfootballR/issues/355)

***

# worldfootballR 0.6.5
Expand Down
2 changes: 1 addition & 1 deletion R/fb_league_stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

purrr::map_dfr(
seq_along(n_tables),
1:n_tables,
~{
tables[[.x]] %>%
.rename_fb_cols() %>%
Expand Down

0 comments on commit dbd52b2

Please sign in to comment.