This repository contains the files associated with the course project from the Getting and Cleaning Data Coursera class.
The run_analysis.R script is used to transform raw data from accelerometers on the Samsung Galaxy S smartphone into tidy and easily understandable data for furthur analysis.
The raw data and a detailed description of the raw data are available if you are interested.
For this script to work correctly, the .zip file should be downloaded and unzipped into the working directory. After doing this, you should have a folder titled "UCI HAR Dataset" in your working directory.
The script reads the data from the various sources into R, appends them into one data set, subsets the measures with mean and standard deviation values, cleans up the variable names, and outputs a summarized data set. More detail about the specific transformations done can be found in the codebook.MD file.
The script will write the output ("tinydata.csv") to the working directory.