GitHub - fullstackdata/har

main.R is the main program to run run_analysis.R This script sets the input folder name for run_analysis.R Change inputDir variable in this file to set the input folder name.

INSTRUCTIONS:

  1. Open main.R
  2. Set inputDir variable to your dataset folder name
  3. Save main.R
  4. Run main.R script by typing the following command, asssuming main.R is in /har folder. source('/har/main.R')
  5. tidy.txt is created in the same folder as main.R

ASSUMPTIONS:

  1. inputDir folder has the same structure as the unzipped UCI HAR Dataset.zip provided for this project.