ds.get_roster: Get Roster

Description Usage Arguments Value

Description

get_roster() imports the Roster page corresponding to a given year and game ID and returns a character vector

Usage

1
2
ds.get_roster(season, game_id, try_tolerance = 3,
  agents = hockeyR::ds.get_user_agents()[sample(1:4, size = 1)])

Arguments

season

a season

game_id

a single game id

try_tolerance

the number of tries before moving on.

agents

a useragent, selected from the list of useragents.

Value

character vector


pbulsink/hockeyR documentation built on May 15, 2019, 4:16 p.m.