ds.get_pbp: Get PBP

Description Usage Arguments Value

Description

get_pbp() imports the PBP page corresponding to a given year and game ID and returns a list object.

Usage

1
2
ds.get_pbp(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

a list object


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