Giter VIP home page Giter VIP logo

gettingcleaningdatacourseproject's Introduction

Getting and Cleaning Data Course Project

####Ervin-Dawson Warner

###The goal of the project was to take the original cellphone data and provide new "tidy and clean" data.

A full description of the original data can be found at:

http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones

In addition the data for this project can be found at:

https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip

###This project contains the following files

  1. README.md - This file - a description of how this project was completed.
  2. run_analysis.R - the R code that loads the original data, cleans it, then outputs the tidy data
  3. CodeBook.txt - a description of the features in the "tidy and clean" mean_activity_subject.txt file
  4. mean_activity_subject.txt - the "tidy and clean" data
  5. features.txt - the original features
  6. features_info.txt - a description of the original features

###The R Script (run_analysis.R) completes the analysis of the data. It performs the following steps:

  1. Loads all the data from the original train and test sets (
  2. Combines the train and test sets into single tables
  3. Gives the data appropriate labels for each feature/column
  4. Extracts the mean and standard deviation for each measurement
  5. Combines the three individual tables into one table containing all the data
  6. Updates the activities with descriptive names
  7. Calculates the mean of each of the feature columns grouped by activity and subject
  8. Writes the tidy and clean data to a file
  9. Loads the tidy data from the file to verify it was written correctly and is reproducible.

####Note - In order to run the analysis, the original data must be in the same folder as the run_analysis.R file.

gettingcleaningdatacourseproject's People

Contributors

edwarner avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.