Giter Club home page Giter Club logo

datacleaning-coursework's Introduction

Peer-graded Assignment: Getting and Cleaning Data Course Project

This repository contains the R script run_analysis.R that performs the analysis as outlined in the project requirements. The goal of this project is to demonstrate the ability to collect, work with, and clean a data set for further analysis. The data used in this project are collected from the accelerometers of the Samsung Galaxy S smartphone.

Completed by: Pranav Swaroop Gundla a.k.a BioCoderR :)

Files in this Repository

  1. run_analysis.R: This R script performs the following steps:

    1. Merges the training and test sets to create one data set.
    2. Extracts only the measurements on the mean and standard deviation for each measurement.
    3. Uses descriptive activity names to name the activities in the data set.
    4. Appropriately labels the data set with descriptive variable names.
    5. Creates a second, independent tidy data set with the average of each variable for each activity and each subject.
  2. CodeBook.md: This file describes the variables, the data, and any transformations or work that was performed to clean up the data.

  3. TidyDataSet.txt: This file contains the final tidy data set with the average of each variable for each activity and each subject.

How to Run the Script

To run the analysis, follow these steps:

  1. Download the Data: If you haven't already, download the data from the following link: Data for the project. Extract the contents of the zip file to your working directory.

  2. Run the Script: Open R or RStudio and run the run_analysis.R script. This script will read the data, perform the necessary transformations, and generate the TidyDataSet.txt file with the tidy data set.

About the Data

The data used in this project were collected from the accelerometers of the Samsung Galaxy S smartphone. A full description of the data is available at the following link: Human Activity Recognition Using Smartphones.

Code Book

For details about the variables, data, and transformations used in this analysis, please refer to the CodeBook.md file in this repository.

Thank you!

datacleaning-coursework's People

Contributors

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