The goal of this project is to prepare tidy data that can be used for later analysis.
The R script run_analysis.R
:
- Downloads the dataset if it does not already exist in the working directory,
- Loads the activity and features info,
- Loads the training and test datasets,
- Merges the two datasets,
- Extracts only the columns with means and standard deviations,
- Uses descriptive activity names to name the activities in the data set,
- Labels the data set with descriptive variable names,
- Creates a tidy dataset with the average of each variable for activity and
each subject,
data_tidy.txt
.