Getting and Cleaning Data - Assignment
This repository is created by Thawatchai Phakwithoonchai for assignment submission of Getting and Cleaning Data course project.
Human Activity Recognition Using Smartphones Data Set
code book.md is a code book that describes the variables, data cleaning, and transformation in order to tidy up the data.
run_analysis.R is a file that has already performed the data preparation and then followed by the 5 steps instruction required as described in the course project:
- Merges the training and the test sets to create one data set.
- Extracts only the measurements on the mean and standard deviation for each measurement.
- Uses descriptive activity names to name the activities in the data set
- Appropriately labels the data set with descriptive variable names.
- From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.
TidyData.txt is a exported data after tidy up in according to the project instructions described above.