A python package for automated statistical analysis of relational data