title author date
README.md
PetBadger
November 21, 2015

Readme

This repo explains how to use the script run_analysis.R.

Getting and Cleaning Data - Course Project

Prepare tidy data from data collected from the accelerometers from the Samsung Galaxy S smartphone.

Installation

Download run_analysis.R and place it in your R environment's working directory.

Usage

It's best to place this script into a new empty directory. The script will download a zip file, unzip it, and export the result to a new file.

The script merges the training and the test data sets from the extracted files and will create one data set. Only the mean and standard deviation measurements, subject and activity are extracted.

Activity data is replaced with readable labels.

Column labels modified to appropriate descriptives.

From the data set in step 4, a second, independent tidy data set is created which contains the average of each variable for each activity and each subject.

This tidy data can then be used for later analysis.

Contributing

Don't. It's just an assignment. :)

License

None. However the data that is downloaded has it's own license. For more information see this website