R/spadl_config.R

#' Bodypart ids for spadl actions
#'
#' @docType data
#'
#' @usage data(spadl_bodypart_ids)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' bodyparts <- data(spadl_bodyparts_ids)
"spadl_bodypart_ids"

#' Type ids for spadl actions
#'
#' @docType data
#'
#' @usage data(spadl_type_ids)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' types <- data(spadl_type_ids)
"spadl_type_ids"

#' Results ids for spadl actions
#'
#' @docType data
#'
#' @usage data(spadl_result_ids)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' results <- data(spadl_result_ids)
"spadl_result_ids"

#' The field length for spadl actions
#'
#' @docType data
#'
#' @usage data(spadl_field_length)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' field_length <- data(spadl_field_length)
"spadl_field_length"

#' The field width for spadl actions
#'
#' @docType data
#'
#' @usage data(spadl_field_width)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' field_width <- data(spadl_field_width)
"spadl_field_width"

#' The fixed probability of scoring a penalty
#'
#' @docType data
#'
#' @usage data(pen_score_frac)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' score_chance <- pen_score_frac
"pen_score_frac"

#' The fixed probability of scoring from a corner
#'
#' @docType data
#'
#' @usage data(corner_score_frac)
#'
#' @keywords datasets
#'
#' @source \href{https://github.com/ML-KULeuven/socceraction/blob/master/socceraction/spadl/config.py}{socceraction repo}
#'
#' @examples
#' score_chance <- corner_score_frac
"corner_score_frac"
RobWHickman/Rteta documentation built on Oct. 28, 2020, 10:42 p.m.