Teng How started 4th April 2017, 09:00AM (GMT+8)
Project assignment for Data Science Coursera (Getting and Cleaning Data)
About: The purpose of this project is to demonstrate your ability to collect, work with, and clean a data set.
The goal is to prepare tidy data that can be used for later analysis.
Data used for the project: http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones Consists of the following files to be used to construct the data set:
- Features.txt
- Activity_labels.txt
- X_train.txt
- X_test.txt
- Y_train.txt
- Y_test.txt
- Subject_train.txt
- Subject_test.txt
- Merges the training and the test sets to create one data set, e.g. reads X_train.txt and X_test.txt and merge into one data set.
- Subset the mean and standard deviation for each measurement.
- Reads in activity labels resulting in a data set of combines subject,features and activity data.
- Labels the data set with descriptive variable names
- Outputs to the tidy data set.
Download the data from the link and extract the above mentioned text files into the working directory. Run run_analysis.R to product the tidy data set.