Here are the data for the project.
A full description is available at the site where the data was obtained.
The goal of the run_analysis.R script is to accomplish the following.
- 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.
- set the working directory to 'UCI HAR Dataset'
- read and merge the train data
- read and merge the test data
- merge the training and the test sets to create one data set.
- extract only the measurements on the mean and standard deviation for each measurement
- use descriptive activity names to name the activities in the data set
- label the data set with descriptive variable names
- write the data to a tidy data set as txt file