transaction_counter(leagueHistory=TRUE) results in following error:
Error in `levels<-`(`*tmp*`, value = as.character(levels)) : factor level [3] is duplicated
traceback as follows:
- out_trans(teams = dat$teams[[i]], y = dat$seasonId[i], w = dat$scoringPeriodId[i])
- data.frame(seasonId = y, scoringPeriodId = w, teamId = teams$id,
- abbrev = factor(teams$abbrev, levels = teams$abbrev), waiverRank = teams$waiverRank,
teams$transactionCounter)
- factor(teams$abbrev, levels = teams$abbrev)
Went to debug, but out_trans has no supported rdocumentation/cannot be loaded from installation. Would gladly take a bug fix to just pull each seasonId individually.
transaction_counter(leagueHistory=TRUE) results in following error:
Error in `levels<-`(`*tmp*`, value = as.character(levels)) : factor level [3] is duplicatedtraceback as follows:
teams$transactionCounter)
Went to debug, but out_trans has no supported rdocumentation/cannot be loaded from installation. Would gladly take a bug fix to just pull each seasonId individually.