ds.scrape_player_profile: Scrape Player Profile

Description Usage Arguments Value

Description

scrape_player_profile() collects and parses the data for a player corresponsing to a given player ID.

Usage

1
2
ds.scrape_player_profile(player_id, try_tolerance = 3,
  agents = hockeyR::ds.get_user_agents()[sample(1:4, size = 1)])

Arguments

player_id

the player ID to get

try_tolerance

the number of tries before moving on.

agents

a useragent, selected from the list of useragents.

Value

data frame of player info


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