Mental health data science in rich longitudinal cohort studies