To use the code file in this repository, the following steps need to be done.
- load the code and data (https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip) to your working directory e.g. D:/R/DataClean/work
- unzip data to the directory named "UCI HAR Dataset" in the working directory
- change some begining lines of code in "run_analysis.R" to point out to 2 above directories
at the end, you can run all code in the run_analysis.R file. Result a file named tidydata.txt in the working directory.
have a fun!