Coursera Repository for Getting and Cleaning Data
The class project for Getting and Cleaning Data was to read in the "Human Activity Recognition Using Smartphones" data set, perform an analysis on the data set, and output a tidy data set.
Here are the steps that must be performed before running the R script:**
- Download the zip file from this URL.
- Unzip the file.
- Data should be extracted in the following structure |---Data |---test |---Inertial Signals |---train |---Inertial Signals
- Copy the run_analysis file in the same directory level
- Install the reshape2 package which can be installed using install.packages("reshape2") and then loading the library by calling library(reshape2)
- run the R Script
Once those steps are complete, you can run the R script (run_analysis.R).
The output of the R script is a tidy data set, tidy.txt
You can read more about the data and the analysis in the CodeBook.md.