You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the Data Science specialization, this repository contains the course project for the Coursera course "Getting and Cleaning data".
About the raw data
The 561 features are unlabeled and can be found in the x_test.txt. The activity labels are in the y_test.txt file. The test subjects are in the subject_test.txt file. Similar for the training set.
About the script and the tidy dataset
A script called run_analysis.R will merge the test and training sets together. Prerequisites for this script are as follows:
- the UCI HAR Dataset must be extracted
- the UCI HAR Dataset must be availble in a directory called "UCI HAR Dataset"
After merging testing and training, labels are added and only columns that have to do with mean and standard deviation are kept.
Lastly, the script will create a tidy data set containing the means of all the columns per test subject and per activity. This tidy dataset will be written to a tab-delimited file called tidy.txt, which can also be found in this repository.
About the Code Book
The CodeBook.md file explains the transformations performed and the resulting data and variables.