popiula / Getting-CleaningData

Getting and Cleaning Data Peer-graded assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting and Cleaning Data

Project Name

Peer-graded asignment

Getting & Cleaning Data - Week 4 Data Science Specialization - John Hopkins University

Installation

You do not need to install anything, just: source("run_analysis.R")

Usage

run_analysis.R does the following:

Merges the training and the test sets to create one data set. Extracts only the measurements on the mean and standard deviation for each measurement. Uses descriptive activity names to name the activities in the data set Appropriately labels the data set with descriptive variable names. From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.

Here are the data for the project:

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

You need to unzip the files in your working directory without any folder structure.

File list

X_test.txt X_train.txt y_test.txt y_train.txt subject_test.txt subject_train.txt features.txt activity_labels.txt

(they all need to be directly in your working directory)

A full description of he dataset is available at the site where the data was obtained:

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

History

Version 1.0 Madrid 12 February 2018

Credits

Ana G.

License

GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007

About

Getting and Cleaning Data Peer-graded assignment

License:GNU General Public License v3.0


Languages

Language:R 100.0%