Coder Social home page Coder Social logo

gettingandcleaningdata's Introduction

Getting & Cleaning Data Project

Introduction

This repository illustrates the process of creating a tidy data set for the "University of California, Irvine (UCI) Human Activity Recognition (HAR) Using Smartphones Data Set".

R scripts discussion

Table #1 identifies the three R scripts that are included in the "Getting & Cleaning Data" repository. For example, run_analysis.R is a self-contained script that

  1. Downloads the zip file that contains the Human Activity Recognition Using Smartphones data set.
  2. Creates a tidy data set from the UCI HAR Smartphone data set mean and standard deviation variables.

Table #1: Getting & Cleaning Data repository R scripts

R script name Description
run_analysis.R Creates a tidy data set from UCI HAR Smartphone data set mean and standard deviation variables
plotTidyData.R Loads a tidy data set generated by run_analysis.R into memory and plots the mean body acceleration magnitude using ggplot
createCodebook.R Creates HTML tables using the xtable function that are included in CodeBook.md

No changes are required to run this script since the fileURL variable defined on lines 46-48 of run_analysis.R points to the UCI HAR Smartphone data set Uniform Resource Locator (URL) provided in the course project description. In addition, the other two R scripts described in Table #1 (i.e. plotTidyData.R and createCodebook.R) generate results that were included in CodeBook.md.

gettingandcleaningdata's People

Contributors

mspcvsp avatar

Watchers

James Cloos avatar  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.