Coursera - Getting and Cleaning Data Course Project
This repository also contains the following files:
CodeBook.md: Description of the data
ERD.png: Relationship between data files
- Data collected from the accelerometers from the Samsung Galaxy S smartphone have being obtained and downloaded from https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
- Zip file has being uncompressed
- Variable pathToDataFiles in run_analysis.R points to the root of the uncompressed UCIHAR Dataset.
- Read data from sources
- Assign column names
- Perform necessary, merges, transformations, and calculations.
- Write data to a text file (txt) created with write.table() using row.name=FALSE in the working directory
- Clone this repo
- Download the data (see pre-conditions)
- Run the script: run_analysis.R
Final dataset in current working directory (use getwd)in a file called tidydata.txt