This is an R script to process the UCI HAR Dataset into a tidy data format.
The code to download and process the dataset is in the run_analyis.R file.
To do the processing source the file into your R environment.
source('run_analysis.R')
This will export two derived data.frames into your global environment:
- UCI.HAR.tidy
- UCI.HAR.averaged
The UCI HAR Dataset is described in detail here and can be fetched from a mirror here.
A CodeBook describes the UCI.HAR.tidy and UCI.HAR.averaged data frames, their variables, and the data transformations used to derive them.