Skip to content

Repository for codes in support of the "Getting and Cleaning Data" Coursera course project.

Notifications You must be signed in to change notification settings

shuchihlin/getting-cleaning-data-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

getting-cleaning-data-project

Repository of codes and instructions for the "Getting and Cleaning Data" Coursera course project.


  1. How to run the analysis?

  2. Output:

    • Upon successful execution, "tidyData.txt" is created under the current directory which contains an independent tidy data set with the average of each variable for each activity and each subject
  3. The R-script "run_analysis.R" does the following steps in sequence:

    • Read-in test, training, activities, and subject data sets
    • Assign descriptive activity names to activities inside the test and train data sets
    • Label the data sets' headers with descriptive variable names and select the variables of mean and standard deviation ones
    • Extracts only the measurements on the mean and standard deviation for each measurement. Merge test and training sets into a joint data set along with their corresponding activities and subjects
    • From the joint data set, to create a second, independent tidy data set with the average of each variable for each activity and each subject. Then write to file "todyData.txt" in current directory

About

Repository for codes in support of the "Getting and Cleaning Data" Coursera course project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages