group_and_type!(YearByYear {
"age" => age,
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(Season {
"age" => age,
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
"passedBall" => passed_balls,
"pickoffAttempts" => pickoff_attempts,
});
group_and_type!(Career {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
"passedBall" => passed_balls,
});
group_and_type!(GameLog {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(LastXGames {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(ByDateRange {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(ByDateRangeAdvanced {
"battersFaced" => batters_faced,
"stolenBases" => stolen_bases,
"caughtStealing" => caught_stealing,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
});
group_and_type!(ByMonth {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(ByDayOfWeek {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(HomeAndAway {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});
group_and_type!(WinLoss {
"gamesPlayed" => games_played,
"runs" => runs,
"homeRuns" => home_runs,
"strikeOuts" => strikeouts,
"baseOnBalls" => base_on_balls,
"intentionalWalks" => intentional_walks,
"hits" => hits,
"hitByPitch" => hit_by_pitch,
"atBats" => at_bats,
"caughtStealing" => caught_stealing,
"stolenBases" => stolen_bases,
"earnedRuns" => earned_runs,
"battersFaced" => batters_faced,
"gamesPitched" => games_pitched,
"wildPitches" => wild_pitches,
"pickoffs" => pickoffs,
"totalBases" => total_bases,
"catchersInterference" => catchers_interference,
"sacBunts" => sac_bunts,
"sacFlies" => sac_flies,
});