Skip to content

tidy_scores() returns TRUE for isWinner in future #43

@k5cents

Description

@k5cents

The tidy_scores() function returns TRUE values for isWinner column for weeks that haven't been played.

library(fflr)

ffl_id(252353)
#> Temporarily set `fflr.leagueId` option to 252353
#> [1] "252353"

x <- tidy_scores()
x$isWinner[x$totalPoints == 0 & x$abbrev == "KIER"]
#> [1]  TRUE FALSE  TRUE  TRUE FALSE  TRUE

Created on 2023-10-30 with reprex v2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions