/getandcleandata0915

Assignment files for the get and clean data 09/2015

Primary LanguageR

getandcleandata0915

Getting And Cleaning Data - Course Project - Introduction

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:

  1. Read data
  2. Perform merging and transformations
  3. Write output data to a CSV file inside data/output dir

The CodeBook.md explains this process in more detail.

To run

  1. Clone this repo

  2. 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
    
  3. Open and run the project with RStudio