The script run_analysis.R is written for purpose of Getting and Cleaning Data course.
This script does following things:
- Downloading and unziping file that represents data collected from accelerometers from the Samsung Galaxy S smartphone.
- A full description is available at the site where the data was obtained:
http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones
- For the purpose of this assigment data could be downloaded from:
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
-
Reading files and naming columns.
-
Merging the training and test set to create one data set.
-
Extracts only the measurements on the mean and standard deviation for each measurement.
-
Appropriately labels the data set with descriptive activity names.
-
Creates a second, independent tidy data set with the average of each variable for each activity and each subject.