code to extract/format clinical covariate data