Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/carlosstack/cleaning-data-in-r

:pick: :gem: Taking raw data and converting it to tidy data that can be used for later analysis
https://github.com/carlosstack/cleaning-data-in-r

data-cleaning data-manipulation r-programming regular-expression

Last synced: 2 months ago
JSON representation

:pick: :gem: Taking raw data and converting it to tidy data that can be used for later analysis

Awesome Lists containing this project

README

        

![Getting and Cleaning Data Course Project](./assets/cover.jpg?raw=true "Title")

## The Goal
Prepare tidy data that can be used for later analysis.

## The Data Set
The data was collected from the accelerometers from the Samsung Galaxy S smartphone. A full description is available at the site where the data was obtained:
http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones

Here are the data for the project:
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip

## How the script works
![Getting and Cleaning Data Course Project](./assets/diagram.jpg?raw=true "How the script works")

## Quick start

| Step | Example |
| ------------- | ------------- |
| Download the raw data | https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip |
| Unzip the file on the project folder | The "UCI HAR Dataset" folder should look like this:
![Folder preview](./assets/folder.jpg?raw=true "How the script works") |
| Add the script as source | ```source("./run_analysis.R")``` |
| Run the script | ```run_analysis()``` |