CRAN/E | pitchRx

pitchRx

Tools for Harnessing 'MLBAM' 'Gameday' Data and Visualizing 'pitchfx'

Installation

About

With 'pitchRx', one can easily obtain Major League Baseball Advanced Media's 'Gameday' data (as well as store it in a remote database). The 'Gameday' website hosts a wealth of data in XML format, but perhaps most interesting is 'pitchfx'. Among other things, 'pitchfx' data can be used to recreate a baseball's flight path from a pitcher's hand to home plate. With pitchRx, one can easily create animations and interactive 3D 'scatterplots' of the baseball's flight path. 'pitchfx' data is also commonly used to generate a static plot of baseball locations at the moment they cross home plate. These plots, sometimes called strike-zone plots, can also refer to a plot of event probabilities over the same region. 'pitchRx' provides an easy and robust way to generate strike-zone plots using the 'ggplot2' package.

Citation pitchRx citation info
cpsievert.github.com/pitchRx
Bug report File report

Key Metrics

Version 1.8.2
R ≥ 2.15.1
Published 2015-12-09 3066 days ago
Needs compilation? no
License MIT
License File
CRAN checks pitchRx results

Downloads

Yesterday 0
Last 7 days 40 0%
Last 30 days 160 -7%
Last 90 days 533 -27%
Last 365 days 3.549 -44%

Maintainer

Maintainer

Carson Sievert

cpsievert1@gmail.com

Authors

Carson Sievert

Material

NEWS
Reference manual
Package source

In Views

SportsAnalytics

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

pitchRx archive

Depends

R ≥ 2.15.1
ggplot2 ≥ 0.9.3

Imports

XML2R ≥ 0.0.6
plyr
MASS
hexbin
mgcv

Suggests

DBI
dplyr
RSQLite ≥ 1.0.0
parallel
knitr
animation
shiny
testthat
ggsubplot
rgl

Reverse Imports

baseballr