Learn R Programming

baseballr (version 0.8.6)

process_statcast_payload: Process Baseball Savant CSV payload

Description

This is a helper function for all scrape_statcast_savant functions. The function processes the initial csv payload acquired from baseballsavant to ensure consistency in formattting across downloads

Usage

process_statcast_payload(payload)

Arguments

payload

payload from a Baseball Savant request, e.g. from read_csv

Examples

Run this code
# NOT RUN {
process_statcast_payload(payload)
# }

Run the code above in your browser using DataLab