This is the assignment project for the Getting and Cleaning Data Coursera course. The R script (run_analysis.R) is used to download and clean the data file. The detailed steps are:
- Download the dataset from source.
- Unzip the file.
- Load the activity and feature.
- Load the training and test datasets. Filter only those columns which reflect a mean or standard deviation.
- Load the activity and subject data for each dataset, and merges those columns with the dataset.
- Merges the two datasets.
- Convert the activity and subject columns into factors.
- Create a tidy dataset with mean of each variable for every subject and activity pair.
The end result is shown in the file tidy.txt.