Project R code, code book and readme