Upload R code file and tidy dataset