obtaining, cleaning, tiding and returning a dataset for a coursera course