greencrab / tidydata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tidydata

This project is to prepare a clean data from those found in Smartphone data for later analysis

The data for the project is found in

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

run_analysis.R is the R script that will generate the tidy data set. It will try to download the raw dataset into data directory. After unpacking, multiple files will be read into different data.frame. It will then proceed to

  1. Merges the training and the test sets
  2. Extracts only the measurements on the mean and standard deviation for each measurement.
  3. Labels the data set with descriptive activity names.
  4. Creates a tidy data set with the average of each variable for each activity and each subject.

A CodeBook.md is included that descibe the data found in the data set generated by run_analysis.R

About


Languages

Language:R 100.0%