run_analysis.R script do:
- Read all dataframes(Train and test data, subjects, activities and features)
- Merge data by type (Values, Colnames and subject row)
- Filter features with regex "mean+|std+" to get only ones with mean and std word in the name
- Filter train and test values previously merged on point 2 with positions get with the regex on point 3
- Merged all data (Values, Colnames and subject row)
- Get a tidy dataframe
- Creates a second, independent tidy data set with the average of each variable for each activity and each subject
- Write a txt with the data obtained on point 7
average_dataset.txt contains the project data, including test and training data. The table contains data of the means calculated for each feature. These features are the ones that contain mean and std in their calculation.
codebook.md contains information on the data and variables used for the project.