players_df: Construct summary dataframe for current players

Description Usage Arguments Details Examples

Description

Converts the list returned by collect_ff into a summary dataframe with one row for each player. The default dataframe consists of 7 variables (more can be added, check details for available extra variables):

Usage

1
players_df(player_list, add_vars = NULL)

Arguments

player_list

list of players (the list returned by collect_ff)

add_vars

extra variables to add if desired

Details

The extra variables available are below, some are self-explanatory, while others I have no idea what they are (at the moment):

Examples

1
2
3
4
5
6
## Not run: 
# Collect fresh data
player_list <- collect_ff(n = 10)
players <- players_df(player_list)

## End(Not run)

durtal/fantasysocceR documentation built on May 15, 2019, 6:01 p.m.