Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m3nu/getdata-oocohx9a
https://github.com/m3nu/getdata-oocohx9a
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/m3nu/getdata-oocohx9a
- Owner: m3nu
- Created: 2014-06-16T11:16:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-22T09:52:44.000Z (over 10 years ago)
- Last Synced: 2024-10-15T10:26:15.637Z (3 months ago)
- Language: R
- Size: 219 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tidy HAR dataset
This script will take the original HAR sample set from [Smartlab](http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones) and perform the following transformations:
1. Read file containing column names to correctly label each column.
2. Read original files from folders. Files should be unpacked for this. Datasets being read are the outcomes, the predictors and the corresponding subject.
3. The columns are filtered with a regular expression to only include mean and std for each variable.
4. The next step will merge test and training-data.
5. After this the Activity-column is converted to a factor and revalued to make it more readable.
6. The final operation groups the data by subject and activity and calculated the mean for each of them.For more details, please refer to the comments in the script directly.