week_score: Internal function to return a weekly total for a grouped team...

Description Usage Arguments

View source: R/fpl_db_fns.R

Description

Internal function to return a weekly total for a grouped team and week

Usage

1
week_score(d, inc_transfers, entry_use)

Arguments

d

Data frame for a specific manager and week

inc_transfers

Boolean. Should points lost by transferring players be taken into account?

entry_use

Dataframe. A data frame containing the entry_weeks table as obtained from read_database. It requires that the two columns be remaned (use_entry = entry, use_week = week)


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