This project is created to analyze the data from UCI HAR Dataset.
The following files from the initial dataset is used:
- features.txt
- train/X_train.txt
- test/X_test.txt
- train/subject_train.txt
- test/subject_test.txt
- train/y_train.txt
- test/y_test.txt
The script performs the following:
- Downloads the features to be measured.
- Loads data set for train and test sets.
- These loaded data sets are then merged to form a complete data set
- The measurements on mean and standard deviations are extracted as per the criteria.
- To provide descriptive values for activity labels a new variable "activitylabel" is added to dataset, that is a factor variable with levels mentioned in file activity_labels.txt
- Created a melted data frame using activity labels and mean is calculated.
- A tidy data frame is created and written to text file.