Coursera Course: Getting and Cleaning Data
Assignment Submission Files
run_analysis.R
README.md
CookBook.md
Instructions
Checkout the code using 'git checkout https://github.com/rwstang/Getting-and-Cleaning-Data-Assignment.git YOURDIRECTORY'
Download the data set, https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
Unzip the data set into YOURDIRECTORY and you should see a folder named UCI HAR Dataset in YOURDIRECTORY
Load RStudio and set your working directory using setwd("YOURDIRECTORY")
Load the R script using source("run_analysis.txt")
Run the R script using run_analysis() and after execution of the function has finished, you will see that merged_tidy_data.txt and calculated_tidy_data.txt would have been replaced with the newest outputs.
Dependencies
The R script assumes you have 'data.table' installed using install.packages("data.table") More Information
For more information on the data set, please refer to http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones