Clase 3 - Getting and Cleaning Data - Week 4 - UCI HAR Dataset
This script is used to prepare tidy data that can be used for later analysis. It performs the following steps:
-
Merges the training and test datasets to create one data set.
-
Extracts only the measurements on the mean and standard deviation for each measurement.
-
Uses descriptive activity names to name the activities in the data set.
-
Appropriately labels the data set with descriptive variable names.
-
From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.
Explains the analysis files and how all of the scripts are connected (this document).
run_analysis.R depends on the dplyr package for its execution. Please ensure that the package is installed and loaded prior to running the script.
A full description of the data used in this project is available at the site where the data was obtained: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip