This is a repository for the peer graded assignment of the Getting And Cleaning Data Coursera couse by the Johns Hopkins University.
The R script, run_analysis.R, does the following:
-
Download the dataset if it does not already exist in the working directory
-
Load the activity and feature info
-
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.
-
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.
-
FinalData.txt is the exported final data