Contains the code and data for the Course Project, Getting and Cleaning Data, part of the Coursera series on Data Science.
- Initialize the R environment - set the working directory and load necessary packages.
- The data is provided with this repo, however ensure that the data directory exists on the local machine; if not download it.
- Clean the data: load the features wanted in the analysis and then load the train and test sets, conditioned on the above features to include.
- Merge the train and test data sets
- Convert the activites in this merged data set into factors.
- Compute the average of each variable.
- Write this "tidy" data set to disk