The main asset of this repo is the script run_analysis.R.
This script reads UCI HAR data files and writes output to result.txt
The CodeBook.md has some details.
-
Clone this repo.
-
Download
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zipand extract files in the repo root folder. -
Run the script:
$ Rscript run_analysis.R -
The output will be at result.txt