Git Product home page Git Product logo

dsgettingandcleaningdata's Introduction

dsgettingandcleaningdata

Data Science - Getting and Cleaning Data final project

dsgettingandcleaningdata project contains the following files in the project's main github directory

  • README.md
  • CookBook.md
  • run_analysis.R

README.md

README.md file gives the general instructions on how to use the CookBook.md and run the analysis using run_analysis.R program

CookBook.md

CookBook.md file describes the various steps performed to clean and transform the data, variable names and summary choices made

run_analysis.R

This is the main R script that performs the cleaning and transformation of the data by summarizing the raw data by calculating mean of all the variables for each activity and each subject

Note: current directory that you are running the script from using the step 3 below should have the raw dataset donwloaded and unzipped into a directory called ('UCI HAR Dataset')

Steps to perform the analysis

  1. switch to a directory on your machine where you would like to perform the analysis and save the tidy dataset
  2. Download the raw data - wget https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
  3. unzip the raw data into 'UCI HAR Dataset' - unzip getdata-projectfiles-UCI HAR Dataset.zip
  4. download the github repository of dsgettingcleaningdata using command 'git clone https://github.com/gdtm86/dsgettingandcleaningdata.git'
  5. open the R console
  6. source('./dsgettingandcleaningdata/run_analysis.R')
  7. Once the script runs with no errors, tidy dataset is saved in the current directory in a text file named 'summarized_tidy_data.txt'

dsgettingandcleaningdata's People

Contributors

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