Coder Social home page Coder Social logo

getdata-008-course-project's Introduction

Getting and Cleaning Data Course Project

Introduction

This is a repo for my Getting and Cleaning Data Course Project on Coursera. The run_analysis.R script processes a raw dataset and saves a new "tidy" dataset in txt format.

Raw Data

The original dataset contains 10299 instances with 561 attributes, collected from 30 test subjects using the Samsung Galaxy S smartphone.

More details can be found here:

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

The dataset can be downloaded here:

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

How to use the script

This repo contains one R script called run_analysis.R, which will run in the working directory.

Before running it, you will need to extract the data set into a folder named "data" in the working directory.

To run the script, type: source("run_analysis.R")

When the script finishes running, a tidy dataset in txt format ("data_tidy.txt") will be saved in the working directory.

The Codebook

The Codebook explains the transformations made to the dataset and the reasoning behind the transformations.

Further reading

To find out more about tidy datasets, do read Hadley Wickham's paper Tidy Data.

http://vita.had.co.nz/papers/tidy-data.pdf

getdata-008-course-project's People

Contributors

linzhaowei avatar

Watchers

 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.