R code for munging SLSLT Module data