Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.07 KB

File metadata and controls

28 lines (15 loc) · 1.07 KB

Get_Clean_Data_Project

Course project for Getting and Cleaning data course offered on coursera.

To run the run_analysis.R script:

What run_analysis.R actually does:

  • Pulls in the test and training datasets (X_test.txt and X_train.txt)

  • Adds descriptive variable names to both datasets (features.txt)

  • Pulls in and adds columns for subject and test name (subject_test.txt, y_test.txt, subject_train.txt, y_train.txt)

  • Converts the test numbers into descriptive labels (activity_labels.txt)

  • Consolidates the test and training datasets into 1 dataset

  • Limits to columns that only contain "mean()" or "std()"

  • Finds the average of the remaining variables for each subject/activity combination