ncaa_lineups {baseballr}R Documentation

Retrieve lineups for a given NCAA game via its game_info_url

Description

Retrieve lineups for a given NCAA game via its game_info_url

Usage

ncaa_lineups(game_info_url = NULL, ...)

Arguments

game_info_url

The unique game info url

...

Additional arguments passed to an underlying function like httr.

Value

Returns a tibble of each school's starting lineup and starting pitcher

col_name types
year numeric
player_name character
position character
slug character
batting_order character
team_name character
sub numeric
attendance character
game_date character
location character
player_id integer
team_id numeric
team_url character
conference_id numeric
conference character
division numeric
season_id numeric

Examples


  try(ncaa_lineups(game_info_url="https://stats.ncaa.org/contests/2167178/box_score"))
  try(ncaa_lineups(game_info_url="https://stats.ncaa.org/game/index/4587474?org_id=528"))


[Package baseballr version 1.6.0 Index]