Getting and Cleaning Project 1

Rob Tuck

Overview

This project serves to demonstrate the collection and cleaning of a tidy data set that can be used for subsequent analysis. A full description of the data used in this project can be found at The UCI Machine Learning Repository

The source data for this project can be found here.

Making Modifications to This Script

Make sure your current working directory is set properly and you have downloaded and unzipped the data set.

Project Summary

The following is a summary description of the project instructions

You should create one R script called run_analysis.R that does the following.

  1. Merges the training and the test sets to create one data set.
  2. Extracts only the measurements on the mean and standard deviation for each measurement.
  3. Uses descriptive activity names to name the activities in the data set
  4. Appropriately labels the data set with descriptive activity names.
  5. Creates a second, independent tidy data set with the average of each variable for each activity and each subject.

Additional Information

You can find additional information about the variables, data and transformations in the CodeBook.MD file.