The R script, run_analysis.R, does the following:
- Download the dataset if it does not already exist in the working directory
- Read the Data from files in UCI HAR Dataset
- Merge Test and Train data in the activity, subject and feature
- Merges the three datasets
- Converts the
activitycolumn into a factor - Extract only the measurements on the mean and standard deviation for each measurement
- Creates a tidy dataset that consists of the average (mean) value of each variable for each subject and activity pair.
The end result is shown in the file tidy.txt.