You will be required to submit: 1) a tidy data set as described below, 2) a link to a Github repository with your script for performing the analysis, and 3) a code book that describes the variables, the data, and any transformations or work that you performed to clean up the data called CodeBook.md.
A full description is available at the site where the data was obtained: http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+SmartphonesHere are the data for the project: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
The R script called run_analysis.R that does the following.-
Loads the necessary libraries required for manipulating data tables
-
Reads the datafiles into assigned variables
-
Uses descriptive activity names to name the activities in the data set
-
Appropriately labels the data set with descriptive variable names.
-
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.
-
Create a second, independent tidy data set with the average of each variable for each activity and each subject.
-
Write the tidy data into a 'txt' file
Acknowledgements to Erik-Jan van Baaren for portions of the source code found here Link </a href>