Data and functions used to analyze baseball data