-
Download and extract the data from https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
-
Rename the folder as "data"
-
Place "data" folder and the "run_analysis.R" script in your current working directory
-
Execute "run_analysis.R". The code generates two text files:
- tidyData.txt
- tidyDataWithMeans.txt
- Open the final file in MSExcel or in RStudio with the following code: data <- read.table("data_with_means.txt")