The script run_analysis.R will clean, merge and analyse the UCI Data on Human Activity Recognition Using Smartphones into a smaller data set of averages. For more information on the input data see http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones
The raw input data used for this script can be found at
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
Before running the script, the above input data should be unzipped in the directory where the script will be run. The directory structure of the zip file should be retained.