Pig code for analysis of baseball statistics
- summarize_at_bats.pig: Generate a single statistic representing the number of times a ball was hit to a specific fielder.
- summarize_loader.pig: Parse all records, taking into account game context. This script produces a highly denormalized version of the data, including data such as runners on base, fielders, field conditions, and current game and player statistics. This script does everything summarize_UDF.pig did, and more.