% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Game.R
\name{.add_html_on_ice_players}
\alias{.add_html_on_ice_players}
\title{Add HTML-derived on-ice players to play-by-play}
\usage{
.add_html_on_ice_players(
  play_by_play,
  game,
  rosters = NULL,
  home_team = NULL,
  away_team = NULL,
  html_rows = NULL
)
}
\arguments{
\item{play_by_play}{data.frame play-by-play object}

\item{game}{game ID}

\item{rosters}{optional roster data.frame}

\item{home_team}{optional home-team metadata}

\item{away_team}{optional away-team metadata}

\item{html_rows}{optional parsed HTML on-ice rows}
}
\value{
data.frame enriched with HTML-derived on-ice columns
}
\description{
\code{.add_html_on_ice_players()} resolves HTML on-ice goalie and skater IDs,
matches them to API rows, and injects the resulting scalar on-ice columns
into play-by-play output.
}
\keyword{internal}
