Giter Site home page Giter Site logo

clean_data_w4_project's Introduction

Course Document
Getting and Cleaning Data - Course Project
Read Me

Background

This is the course project for the Getting and Cleaning Data Coursera course. The following files are included in the submission.

  1. README.md - includes the explanation of course project submission
  2. CodeBook.md - includes the codebook for the data
  3. run_analysis.R - includes R source code to fulfill the course project requirement
  4. tidydataset.txt - includes the tidy data as required by the course project

How script works

  1. The script assumes the intial data of the course project already presents in R working directory
  2. The script reads activity label and feature
  3. The script reads test data and bind the data into one single data frame
  4. The script replace the activity label ID with the activity label in test data
  5. The script reads train data and bind the data into one single data frame
  6. The script replace the activity label ID with the activity label in train data
  7. Combine test data and train data
  8. Remove all variables other than the ones contains "mean()" and "std()"
  9. Translate the variable description to human readable description
  10. Generate tidy dataset with average of each variable for each activity and each subject

clean_data_w4_project's People

Contributors

sjtuzmd 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.