ds.get_coordinates: Get Coordinates

Description Usage Arguments Value

View source: R/4_get.R

Description

get_coordinates() imports the event coordinates corresponding to a given year and game ID

Usage

1
2
3
ds.get_coordinates(season = "20182019", game_id = "20001",
  source = "nhl", date, away_team, try_tolerance = 3,
  agents = ds.user_agents[[1]])

Arguments

season

character. The season. Default "20182019".

game_id

character. The game id. Default "20001".

source

character. "nhl" or "espn". Default "nhl".

date

character or date object. Naturally, this must be the date of game game_id.

away_team

character.

try_tolerance

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

agents

character. Agent string. Default should work fine.

Value

a JSON list object


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