R scripts to clean data to make it tidy.