This is the course project for the Getting and Cleaning Data Coursera course. The R script, run_analysis.R, does the following:
- Set the working directory and create a folder named data where the unzipped data will be stored
- Download the dataset if it does not already exist in the working directory
- Load the activity and feature info
- Loads both the training and test datasets with the selected features
- Loads the activity and subject data for each dataset, and merges those columns with the dataset
- Merges the two 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.txt.