Course Project for Getting and Cleaning Data
This repository contains script for obtaining tidy dataset for Course Project for Getting and Cleaning Data
The following files included in the repository:
run_analysis.R
Script performs following steps:
- Downloads dataset if it is not exists
- Unzip dataset if it not exists
- Loads dataset feature names and activity labels
- Creates filter based on feature names (mean() and std())
- Loads datasets for train and test (subject and activity merged with filtered data)
- Combines train and test datasets
- Produces new dataset which contains averaged data per subject per activity
- Saves dataset to file tidy.txt