The scrip was as simple as possible so that it could solve the problem quickly and efficiently.
Basically collect the data and concatenate them by adding the labels suggested by the "features" file, and save the following files:
- test.csv
- train.csv
- tidy_average_data.txt
The original database can be obtained directly [here] (https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip)
For more information on how data was collected and its purpose click [here] (http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones)