The class project for Getting and Cleaning Data was to read in the "Human Activity Recognition Using Smartphones" data set, perform the instructed analysis on the UCI HAR data set, change the names of the activities in the data set to "descriptive activity names" and output a tidy data set.
The following steps must be performed before running the R script:
- Download the zip file from this URL.
- Unzip the file to the SAME DIRECTORY as the R script:
features.txtsubject_train.txtsubject_test.txtX_train.txtX_test.txty_train.txty_test.txt
**Once those steps are complete, you can run the R script (run_analysis.R). ** Note: the following libraries are loaded as part of the script: "dyplr","data.table" and "tidyr". The output of the R script is a tidy data set, TidyData.txt.
You can read more about the data and the analysis in the code book.