Code Monkey home page Code Monkey logo

getdataproject's Introduction

This repo contains the following: This file (README.md) run_analysis.R the R script that generates the final tidy data set CodeBook.md describes the data and its transformations.

It is necessary to have the data unzipped in the directory that the R script above is resident. Output of an ls shows: CodeBook.md getdata%2Fprojectfiles%2FUCI HAR Dataset.zip Human+Activity+Recognition+Using+Smartphones README.md run_analysis.R UCI_HAR_Dataset UCI_HAR_Dataset-cleaned.txt

The data is sourced from: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip

R is started in this directory and the R file is sourced and the file UCI_HAR_Dataset-cleaned.txt is created. The script prints progress messages as it works:

% R

R version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.

[Previously saved workspace restored]

source("run_analysis.R") [1] "Data cleaning of UCI_HAR_Dataset" [1] "reading the headings for summary data" [1] "Reading derived data sets for train and test" [1] "Reading the activity types for train and test" [1] "Selecting the columns to use from data set" [1] "creating the final data frame containing the subject, activity and measurements" [1] "Reading subject key files (train and test)" [1] "Writing out the data fils" [1] "Finished"

getdataproject's People

Contributors

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