Somewhat functional data format for the pecking data in python