The R script run_analysis.R does the following:
- Download the datataset file if if does not exists. Unzip it and load the data and related info.
- Merge columns of the training and test dataset.
- Create a common datataset.
- Convert the appropriate columns into factors, i.e. appropriately label the data set with descriptive variable names.
- Creates a second, independent data set with the average of each variable for each activity and each subject.
The end result is shown in the file tidy_data.txt.