#README: run_analysis.R
This script will:
-
Download and unzip the data files from the website.
-
Read and combine the test files (subject_test.txt, y_test.txt, and x_test.txt) with meaningful column headings (features.txt) and decoding the activities (activity_labels.txt).
-
Read and combine the train files (subject_train.txt, y_train.txt, and x_train.txt) with meaningful column headings (features.txt) and decoding the activities (activity_labels.txt).
-
Combine the test and train files.
-
Extract the measurements that include mean() and std() in their column headings.
-
Create an anlysis (tidy) dataset by computing an average for each measure at the subject/activity level.
-
Create column headings that reflect the summarization and name of the measurement.
-
Write the analysis dataset out to a text file.