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")'
How to use
Extract specific date's pitching data
using Pitchjx data = pitchjx("2018-10-20")
Extract Multiple dates' pitching data
This is recommended for getting short range dates' data.
using Pitchjx data = pitchjx("2018-10-20", "2018-10-22")
Extract Multople dates' pitching data with multiprocessing
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)