Getting and Cleaning Data Course Project
POST SUBMISSION EDIT: To the peer reviewers of this assignment,
I'll save you some time and tell you that lines 218 & 222
are where things went wrong -- I failed to realize/notice the
merge command re-orders the rows of the resulting table...
D'OH!!!!
Purpose:
Demonstrate your ability to collect, work with, and clean a data set.
The goal is to prepare tidy data that can be used for later analysis.
Acquire data for the assignment here:
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
Objectives
Write a script called run_analysis.R which satsifies 5 requirements:
1.Merges the training and the test sets to create one data set.
2.Extracts only the measurements on the mean and standard deviation for each measurement.
3.Uses descriptive activity names to name the activities in the data set
4.Appropriately labels the data set with descriptive activity names.
5.Creates a second, independent tidy data set with the average of each variable for each activity and each subject.
Per the assignment instructions:
The code should run as long as the Samsung data is in your working directory.
My version of run_analysis.R contains a combination of verbose comments and sceen output
in order to facilitate the initial analysis. Comments contain functional statements
to explain commands in the script, and also thought-process statements to
explain the analysis process that was followed during script development. The
screen output is paired with the script comments and designed to verify each step of
the analysis along the way.
Read CodeBook.md and the run_analysis.R for further details.
-
Notifications
You must be signed in to change notification settings - Fork 0
datasciguy/getting-and-cleaning-data
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
course project for class 3 of coursera data science certification
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published