ds.get_shifts: Get Shifts

Description Usage Arguments Value

View source: R/4_get.R

Description

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

Usage

1
2
ds.get_shifts(season = "20182019", game_id = "20001", venue = "home",
  source = "htm", try_tolerance = 3, agents = ds.user_agents[[1]])

Arguments

season

character. The season. Default "20182019".

game_id

character. The game id. Default "20001".

venue

character. "home" or "away". Default "away".

source

character. "htm" or "json". Default "htm".

try_tolerance

numeric. Number of times to bang head against wall. Default 3.

agents

character. Agent string. Default should work fine.

Value

a list of two character vectors


deepfriar/dryscrape documentation built on Nov. 5, 2019, 2:27 p.m.