Tools for extracting Statcast pitching data.
Be sure this package no longer supports PITCH f/x data. This package name has been inspired by pitchRx, but MLB has ended PITCH f/x support.
julia -e 'using Pkg; Pkg.add("Pitchjx")'
using Pitchjx
data = pitchjx("2018-10-20")
This is recommended for getting short range dates' data.
using Pitchjx
data = pitchjx("2018-10-20", "2018-10-22")
This is recommended for getting long range dates' data (faster than previous way).
using Distributed
@everywhere using Pitchjx
Distributed.addprocs(2)
dates = ["2018-07-01", "2018-07-02", "2018-07-03", "2018-07-04"]
# get datas as DataFrame's array
result = pmap(d -> pitchjx(d), dates)