#Getting And Cleaning Data
Roger Cunha
2015-03-20
##Course Project
The purpose of this project is to demonstrate the ability to collect, work with, and clean a data set. The goal is to prepare tidy data that can be used for later analysis.
###This project includes the following files:
-
README.md -
run_analysis.R: R script that does the following:
- Downloads and unzips raw data files into directory
UCI HAR Dataset/, if needed. - 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 the previous step, creates a second, independent tidy data set with the average of each variable for each activity and each subject.
-
CodeBook.md: describes the variables, the data, and transformations performed to clean up the data written totidy_data_set.txtperformed by scriptrun_analysis.R. -
tidy_data_set.txt: tidy data set, created by scriptrun_analysis.R. -
UCI HAR Dataset/: directory containing the raw data.