Skip to content

Course project for Coursera "Getting and Cleaning Data" course (August 2014)

Notifications You must be signed in to change notification settings

dalogsdon/getdata-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

getdata-project

Course project for Coursera "Getting and Cleaning Data" course (August 2014)

This project consists of an R script "run_analysis.R" that tidies the UCI HAR Dataset as long as it is in the working directory. Its output is described in the codebook.

Prerequisites

The plyr package is required to run the script.

Script Steps

  1. Reads test and train data and combines them into a single data frame
  2. Subsets the dataframe into mean and standard deviation features
  3. For each observation, maps activity index to its descriptive activity name
  4. Names each feature column to its correct feature name
  5. For each combination of subject and activity, creates a data frame containing the average of each feature

Script Output

The script creates several variables, with the tidy variable being the final output.

About

Course project for Coursera "Getting and Cleaning Data" course (August 2014)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages