This is the project data for the Getting and Cleaning Data Project
Comprises the following 3 files:
- CodeBook.md
Docmuent describing the data, the transforms and variables of the data itself
- README.md
This document
- run_analysis.R
The code used to undertake the transformation and cleaning of the data
The code takes the input data (from a an experiment recording accelorometer and gyprscopic data from a smartphone) and cleans/combines. In particular the following transformations happen:
- Combines training and test data into a single data set
- Labels the variables and observations with subject and activity information
- Tidies the variable names such that they're easy to read descriptors of the measurement
- Filters to only include the mean and standard deviation metrics
- Summarises the data by activity, subject and variable
- Writes to an output data.table