R script for converting diverse data set into the tidy data set.