File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11Type: Package
22Package: ffscrapr
33Title: API Client for Fantasy Football League Platforms
4- Version: 1.4.8.13
4+ Version: 1.4.8.14
55Authors@R:
66 c(person(given = "Tan",
77 family = "Ho",
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ and keep NA data where a player is not in a slot. (v1.4.8.07)
1919(v1.4.8.10)
2020- Use rlang::ns_env rather than superassign in onLoad
2121- Refactor testing
22- - Bugfix sleeper draft picks using the wrong pick number (v1.4.8.11)
23- - Bugfix espn starter positions to have proper total starters (v1.4.8.12) (#415 )
22+ - Bugfix sleeper ` ff_draft() ` using the wrong pick number (v1.4.8.11)
23+ - Bugfix espn ` ff_starterpositions() ` to have proper total starters (v1.4.8.12) (#415 )
2424- Bugfix ff_scoringhistory to handle new-format ` load_rosters() ` now that it returns
2525row per player-team-season (v1.4.8.13) (thanks @john-b-edwards !)
26+ - Bugfix espn ` ff_franchises() ` to return coalesce of name/nickname (v1.4.8.14)
2627
2728# ffscrapr 1.4.8
2829
Original file line number Diff line number Diff line change @@ -37,14 +37,16 @@ ff_franchises.espn_conn <- function(conn) {
3737 " franchise_id" = " id" ,
3838 " franchise_abbrev" = " abbrev" ,
3939 " franchise_location" = " location" ,
40+ " franchise_name" = " name" ,
4041 " franchise_nickname" = " nickname" ,
4142 " logo" = " logo" ,
4243 " waiver_order" = " waiverRank" ,
4344 " user_id" = " primaryOwner"
4445 ) %> %
4546 dplyr :: left_join(members , by = c(" user_id" = " user_id" )) %> %
4647 dplyr :: mutate(
47- franchise_name = paste(.data $ franchise_location , .data $ franchise_nickname )
48+ franchise_nickname = paste(.data $ franchise_location , .data $ franchise_nickname ),
49+ franchise_name = dplyr :: coalesce(.data $ franchise_nickname , .data $ franchise_name ),
4850 ) %> %
4951 dplyr :: select(
5052 dplyr :: any_of(c(
You can’t perform that action at this time.
0 commit comments