Learn R Programming

baseballr (version 1.6.0)

process_statcast_payload: Process Baseball Savant CSV payload

Description

This is a helper function for all statcast_search() functions. The function processes the initial csv payload acquired from Baseball Savant to ensure consistency in formatting across downloads

Usage

process_statcast_payload(payload)

Value

A tibble with the processed Statcast data coerced to the correct types.

Arguments

payload

payload from a Baseball Savant request