Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/carlosstack/cleaning-data-in-r
- Owner: carlosstack
- Created: 2020-09-07T20:14:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T05:40:43.000Z (over 4 years ago)
- Last Synced: 2024-08-13T07:14:22.076Z (6 months ago)
- Topics: data-cleaning, data-manipulation, r-programming, regular-expression
- Language: R
- Homepage: https://www.coursera.org/account/accomplishments/certificate/V5R9VVYPKEBV
- Size: 1.42 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - carlosstack/cleaning-data-in-r - :pick: :gem: Taking raw data and converting it to tidy data that can be used for later analysis (R)
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+SmartphonesHere 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()``` |