get_top10_player_stats: Returns a data frame with top 10 player statistics for a team...

Description Usage Arguments Examples

Description

Returns a data frame with top 10 player statistics for a team or the whole league

Usage

1
2
get_top10_player_stats(season = season, sort = "assists",
  team_id = NULL, access_token = get_shl_access_token())

Arguments

season

Season to be used, i.e. '2015' for the SHL season 2015/2016

sort

Order of which the top list should be sorted, could be "goals" or "assists", defaults to "assists"

team_id

An ID for the team which the list should be based on, for example "DIF"

acces_token

an access_token generated by get_shl_access_token()

Examples

1
2
3
4
## Not run: 
get_teams()

## End(Not run)

filipwastberg/shlr documentation built on May 17, 2019, 1:14 a.m.