Course | Document |
---|---|
Getting and Cleaning Data - Course Project |
Read Me |
This is the course project for the Getting and Cleaning Data Coursera course. The following files are included in the submission.
- README.md - includes the explanation of course project submission
- CodeBook.md - includes the codebook for the data
- run_analysis.R - includes R source code to fulfill the course project requirement
- tidydataset.txt - includes the tidy data as required by the course project
- The script assumes the intial data of the course project already presents in R working directory
- The script reads activity label and feature
- The script reads test data and bind the data into one single data frame
- The script replace the activity label ID with the activity label in test data
- The script reads train data and bind the data into one single data frame
- The script replace the activity label ID with the activity label in train data
- Combine test data and train data
- Remove all variables other than the ones contains "mean()" and "std()"
- Translate the variable description to human readable description
- Generate tidy dataset with average of each variable for each activity and each subject