This is the course project for the Getting and Cleaning Data Coursera course.
It includes a R script, two tidy data sets, and a code book.
The data cleaning process includes the following steps:
- Download the datasets provided in the course project instruction.
- Read both the training and test datasets and the text data of features and activty labels.
- Merge the training and test datasets.
- Extracts only the measurements on the mean and standard deviation from the merged dataset.
- Name the activities using descriptive names.
- Label the data set with descriptive variable name.
- Creates another tidy data set with the average of each variable for each activity and each subject.
- Write the two processed datasets as 'traintestdata.txt' and 'averagedata.txt'.