
Retrieve lineups for a given NCAA game via its game_info_url
Source: R/ncaa_lineups.R
ncaa_lineups.RdRetrieve lineups for a given NCAA game via its game_info_url
Value
Returns a tibble of each team's batting lineup (one row per batter,
in batting order) parsed from the game's individual_stats box scores.
| col_name | types | description |
| player_name | character | Player name. |
| position | character | Fielding position (the box score "P" column). |
| batting_order | integer | Spot in the batting order (box-score row order). |
| team_name | character | Team name (from the box-score totals row). |
| player_id | integer | stats.ncaa.org player identifier. |
| player_url | character | Full stats.ncaa.org url for the player page. |
| slug | character | Relative stats.ncaa.org url for the player page. |
Details
Live usage (reads stats.ncaa.org, which is behind Akamai bot protection and
needs the optional chromote + Google Chrome browser fallback, so it is shown
here rather than as a runnable example):
ncaa_lineups(game_info_url = "https://stats.ncaa.org/contests/2167178/box_score")
ncaa_lineups(game_info_url = "https://stats.ncaa.org/game/index/4587474?org_id=528")