This is a repository for the submission of the Getting and Cleaning Data course project. This repository hosts the R script file and documentation files.
The purpose of this project is to demonstrate ability to collect, work with, and clean a data set.
A full description is available at the site where the data was obtained: Human Activity Recognition Using Smartphones The data linked to website represent data collected from the accelerometers from the Samsung Galaxy S smartphone.
- Unzip the data for the project
- Set the default path of the working directory as
"getdata-projectfiles-UCI HAR Dataset\UCI HAR Dataset"
- Put
run_analysis.R
in the working directory - Run
run_analysis.R
- The resulting clean
dataset.txt
will be available in the working directory
** this R script uses the data.table
library. You can install it using install.packages("data.table")
command.
CodeBook.MD
- describes the variables
run_analysis.R
- contains the code to perform the analyses
dataset.txt
- the output