Skip to content

cybaea/coursera-jhu-getting-data

Repository files navigation

Getting and Cleaning Data Course Project

This is the respository for the course project to the Cousera Getting and Cleaning Data course.

The files required to complete the project are:

(It is a big shame that we are not allowed to combine the R script and the CodeBook into one single R Markdown file. But we follow the instructions here.)

Study Design

The original data is from Human Activity Recognition Using Smartphones Data Set at the UCI Machine Learning Repository.

For the purposes of this project, we are using a version of the data provided by the instructor at UCI HAR Dataset.zip.

Note that we have no information about what selection or processing the lecturer applied to the original UCI data to create the dataset we are using. This is not something we have investigated.

Running the code

Simply run the script run_analysis.R to produce the tidy submission dataset in the file submit_data.txt. Re-running the script will overwrite this file.

The tidy submission data is described in the CodeBook.md file.

Note that this script connects to the internet to download the datafile if (and only if) a file named UCI HAR Dataset.zip is not present in the current directory. In normal usage this means the file is only downloaded once from the internet.

About

Getting and Cleaning Data Course Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published