points_by_week: Internal function to get weekly scores

Description Usage Arguments Value

View source: R/fpl_db_fns.R

Description

Retrieve weekly scores for a fantasy football league Used by fpl_league_weekly and fpl_league functions

Usage

1
points_by_week(f, weeks = c(), inc_transfers)

Arguments

f

an fpl object

weeks

Vector of weeks. If empty then include all weeks

inc_transfsers

Boolean. Should points lost by transfers be taken into account. A value of TRUE subtracts points from weekly totals when transfers cost points

Value

dataframe containing table


harveyl888/fplR documentation built on Aug. 21, 2019, 1:15 a.m.