Jeff Leek coursera class
This is the final project for the Getting and Cleaning Data Coursera class. The R script, run_analysis.R, does the following:
- First, download data from http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones
- Load the activity and feature files without column names
- Give column names
- Load training files and create a full training dataset in one data frame
- Load test files and create a full test dataset in one data frame
- Merge training and test objects
- Extract only the data needed for the assignment
- Clean the variable names
- Create a tidy dataset that only has the mean value of each variable for each subject and activity
- Write the file tidyData.txt