This is a solution for the course project of Johns Hopkins' Getting and Cleaning Data on Coursera.
The solution contains:
- README.md - this readme file.
- run_analysis.R - the R script that generates the project's solution.
- CodeBook.md - a code book that describes the variables, the data, and the transformations performed to create the data.
The run_analysis.R script requires the UCI HAR Dataset directory be downloaded, extracted, and within R's working directory.
The following packages are required to for run_analysis.R:
- data.table
- dplyr
- stringr
install.packages(c("data.table", "dplyr", "stringr"))
The script run_analysis.R can be sourced, assuming the working directory includes the UCI HAR Dataset from Step 1 and the packages are installed from Step 2.
source('./run_analysis.R')
The output of run_analysis.R is the file summarizedHarData.txt in the working directory.