ds.get_shifts: Get Shifts

Description Usage Arguments Value

Description

get_shifts() imports the shift report page corresponding to a given year, game ID and venue and returns a list object.

Usage

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

Arguments

season

a season

game_id

a single game id

venue

home or away

source

htm or json

try_tolerance

the number of tries before moving on.

agents

a useragent, selected from the list of useragents.

Value

a list object


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