process_statcast_payload {baseballr}R Documentation

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)

Arguments

payload

payload from a Baseball Savant request

Value

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


[Package baseballr version 1.6.0 Index]