Learn R Programming

pitchRx (version 1.2)

players: All MLB players from 2008-2012

Description

A data frame with the full name and corresponding ID for every player. This data is used during scrapeFX to append a name to the atbat table so we can reference data by batter_name and pitcher_name without any extra hassle. This was constructed by taking the unique name and ID combinations from every player file of the form - http://gd2.mlb.com/components/game/mlb/year_YYYY/month_MM/day_DD/gid_YYYY_MM_DD_xxxmlb_yyymlb_1/players.xml

Arguments