Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nex3z/getting_and_cleaning_data_assessments

Peer Assessment for Getting and Cleaning Data
https://github.com/nex3z/getting_and_cleaning_data_assessments

Last synced: 3 days ago
JSON representation

Peer Assessment for Getting and Cleaning Data

Awesome Lists containing this project

README

        

# Peer Assessment for Getting and Cleaning Data

## Instructions

```run_analysis.R``` does the following.

1. Merges the training and the 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 activity names.
5. Creates a second, independent tidy data set with the average of each variable for each activity and each subject.

## How to use ```run_analysis.R```

1. Download data from
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
unzip it and put the ```UCI HAR Dataset``` folder at the same directory of ```run_analysis.R```.
2. Run ```run_analysis.R```.

## Dependencies

```run_analysis.R``` requires ```reshape2```.