[R] Code for a Data Science project