- https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
-
- Merges the training and the test sets to create one data set.
- Extracts only the measurements on the mean and standard deviation for each measurement.
- Uses descriptive activity names to name the activities in the data set
- Appropriately labels the data set with descriptive variable names.
- From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.
-
colnames: ActivityID, subjectID, V1-V66 observation: y_train.txt, subject_train.txt, X_train.txt y_test.txt, subject_test.txt, X_test.txt- 7352 obs. of train group, 2947 obs. of test group
- 10299 obs. of combined dataset
-
merge(combined dataset, activity_labels.txt, by = activityID)
colnames: Activity, subjectID, V1-V66 observation: activity_labels.txt, subject_train.txt, X_train.txt activity_labels.txt, subject_test.txt, X_test.txt -
get the variable names from feature.txt
colnames: Activity, subjectID, feature.txt observation: activity_labels.txt, subject_train.txt, X_train.txt activity_labels.txt, subject_test.txt, X_test.txt -
- split the dataset by activities(6) and subjects(30)
- calculate the mean value of features(66)
- the output is 180 obs. × 68 var. (Activity, subjectID, features(66))
UCI-HAR-Dateset-tidy-version.txt