R/match.R

#' Description of \strong{match} data.frame
#'
#' @format A data.frame. Columns which likely to be used as factors record
#'   not available data as "Unknown". Other record as \code{NA}.
#'   Rows are arranged from the latest ended match to the earliest.
#'   The columns are:
#'
#' \describe{
#'   \item{id}{<int>: identifier of match}
#'   \item{eventId}{<int>: identifier of match's event
#'   (column "id" in \strong{event} data.frame)}
#'   \item{round}{<int>: round number (unknown decoding)}
#'   \item{number}{<int>: number of match inside round}
#'   \item{player1Id}{<int>: identifier of player 1
#'   (column "id" in \strong{player} data.frame)}
#'   \item{score1}{<int>: number of won frames by player 1}
#'   \item{walkover1}{<lgl>: whether the win of player 1 was scored
#'   by the technical reasons}
#'   \item{player2Id}{<int>: identifier of player 2
#'   (column "id" in \strong{player} data.frame)}
#'   \item{score2}{<int>: number of won frames by player 2}
#'   \item{walkover2}{<lgl>: whether the win of player 2 was scored
#'   by the technical reasons}
#'   \item{winnerId}{<int>: identifier of match's winner
#'   (column "id" in \strong{player} data.frame)}
#'   \item{unfinished}{<lgl>: whether the match is unfinished}
#'   \item{onBreak}{<lgl>: whether the match is on break}
#'   \item{worldSnookerId}{<int>: identifier of the match in
#'   World Snooker database/website}
#'   \item{liveURL}{<chr>: URL for match's live scoring}
#'   \item{detailsURL}{<chr>: URL for match's details}
#'   \item{pointsDropped}{<lgl>: whether points for the match are missed
#'   (mainly because of walkovers) (not always correct)}
#'   \item{showCommonNote}{<lgl>: whether to show common note somewhere}
#'   \item{estimated}{<lgl>: ?}
#'   \item{type}{<int>: type of event (1, 2; 2 occures for
#'   10 World Cup events)}
#'   \item{tableNo}{<int>: ?}
#'   \item{videoURL}{<chr>: URL for video stream}
#'   \item{initDate}{<dttm>: date of database record creation}
#'   \item{modDate}{<dttm>: date of database record modification}
#'   \item{startDate}{<dttm>: start time of match}
#'   \item{endDate}{<dttm>: end time of match}
#'   \item{scheduledDate}{<dttm>: scheduled start time of match}
#'   \item{frameScores}{<chr>: per frame scores (in one string)}
#'   \item{sessions}{<chr>: information about sessions}
#'   \item{note}{<chr>: match note}
#'   \item{extendedNote}{<chr>: match extended note}
#' }
#'
#' @seealso \link{get_matches} for querying data about matches by ID.
#'
#' \link{get_event_matches} for querying data about matches in specific event.
#'
#' \link{get_ongoing_matches} for querying data about matches that
#' are being played.
#'
#' \link{get_season_player_matches} for querying data about matches of
#' specific player in specific season.
#'
#' \link{get_all_matches} for querying data about all available matches
#' (has long execution time).
#'
#' \link{get_all_player_matches} for querying data about all available matches
#' of specific player.
#'
#' @name match
NULL
evgeniC/snookerorg documentation built on May 16, 2019, 9:39 a.m.