Repo description: This a repository for analyses and code associated with the "Getting and Cleaning Data" course offered by Coursera.
Script description: The run_analysis.R script prepares a tidy data that can be used for later analysis. The data used in the analysis is the Human Activity Recognition Using Smartphones Data Set, which is a "database built from the recordings of 30 subjects performing activities of daily living (ADL) while carrying a waist-mounted smartphone with embedded inertial sensors." More information on the data set can be found at: http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones.
Specifically, the script accomplishes the following five goals:
- Merges the training and the test sets 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.
Code book description: Per the guidelines suggested by the Leek Group (see https://github.com/jtleek/datasharing), the code book contains the following information:
- Information about the variables (including units!) in the data set not contained in the tidy data
- Information about the summary choices you made
- Information about the experimental study design you used