Peer Project - Getting and Cleaning Data
This repository is my submission to the Coursera course on Getting and Cleaning Data. The purpose of this project is to demonstrate the student’s ability to collect, work with, and clean a data set. The goal is to prepare tidy data that can be used for later analysis.
For the detailed description of the data set please see the Code Book: https://github.com/jorgeborges/getdata-project/blob/master/CodeBook.md
Running the Script
- Clone this repository
- In R Studio, install the R package reshape2
- Set the working directory to the directory where the repo was cloned
setwd('/path/to/project')
- Source the
run_analysis.R
file - Run the analysis to generate the tidy dataset by running this function in R Studio:
getdata.run_analysis()
After waiting a couple of minutes, the script will let you know when its done. The Tidy Data Set should have been saved to getdata_tidy_set.txt