MLB Baseball Pitching Matchups ~ grabbing pitcher and/or batter codes by specify game date using R XML
MLB Gameday stores its game data in XML format, with the players denoted in ID numbers. To find out who is who, the codes are stored in pitchers.xml or batters.xml of each game. My DownloadPitchFX.R script can download the ID numbers, but it doesn’t look to ... [Read more...]