This is the Peer Graded Assignment: Getting and Cleaning Data Course Project.
The run_analysis.R
, will do:
- Download the dataset into the working directory
- Load the activity data
- Load the feature data
- Load the training data
- Load the activity
- Load the subject data for each dataset, and will merge those columns with the dataset
- Merges the datasets
- Converts the "activity" and "subject" columns into factors
- Creates a tidy dataset that consists of the average (mean) value of each variable for each subject and activity pair.
The end result is shown in the file tidy_data.txt
.