This repository contains code for reading in the "Human Activity Recognition Using Smartphones" data set and performing a number of cleanup steps to output a tidy dataset.
In order for the script to work, the dataset must be available.
- Clone this repository
- Download the dataset from the URL above.
- Extract the directory into the repository folder. The folder containing the dataset is assumed to be named
UCI HAR Dataset
- Run
source("run_analysis.R")
in R in the repository folder.
The data and the cleanup process are described in the code book.