Skip to contents

Get FanMatch by date

Usage

kp_fanmatch(date)

Arguments

date

Date of games to pull (YYYY-MM-DD)

Value

A data frame with the following columns:

col_nametypesdescription
predictioncharacterPrediction.
time_etcharacterTime et.
locationcharacterLocation.
thrill_scorenumericThrill score.
comebacknumericComeback.
excitementnumericExcitement.
road_rknumericRoad rk.
road_teamcharacterRoad team.
home_rknumericHome team's rk.
home_teamcharacterHome team's team.
win_rknumericWin rk.
win_teamcharacterWin team.
win_scorenumericWin score.
loss_rknumericLoss rk.
loss_teamcharacterLoss team.
loss_scorenumericLoss score.
possnumericPoss.
mvpcharacterMvp.
eventcharacterEvent.
datecharacterDate in YYYY-MM-DD format.

Examples

# \donttest{
try(kp_fanmatch(date = "2022-02-22"))
#>  2026-08-06 04:00:51.645535: Invalid arguments or no Fan Match data for 2022-02-22 available!
#>  Args: date = "2022-02-22"
#>  Error: HTTP 403 Forbidden.
#> NULL
# }