This repo contains my results and scripts for the course project Coursera "Getting And Cleaning Data" course.
The primary script run_analysis.R
, is intended to perform the following:
- Read data
- Perform merging and transformations
- Write output data to a CSV file inside
data/output
dir
The CodeBook.md
explains this process in more detail.
-
Clone this repo
-
Unpack the datset zip
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
Unpack the dataset into directory: ~/Documents/Coursera/UCI HAR Dataset E.g. So that xtrain.txt is located at: ~/Documents/Coursera/UCI HAR Dataset/train/X_train.txt
-
Open and run the project with RStudio