Skip to content

JerryTsien/TidyDataSet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

#Tidy Data Set On Human Activity Recognition Using Smartphones ##Version 1.0

This project is based on the works of SmartLab Laboratory, University of Genova in November 2012 (For details, see http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones). It can read the data from their experiments on human activity recognition using smartphones, and then make a tidy data set of the means of selected features by different activities and subjects.

##The project includes the following files:

  • readme.md

  • run_analysis.R: The R code for creating the tidy data set.

  • codebook.md: Code book for the study design of the project and the structure of tidy data set.

##Follow these steps to get the final tidy data set:

  1. Prepare the input. Download the file getdata_projectfiles_UCI HAR Dataset.zip from https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip and unzip it's contents into the R working directory.

  2. Prepare the program. Put the file run_analysis.R in the R working directory too.

  3. Execute the program. Use the following commands in RStudio:

source("run_analysis.R")
RunAnalysis()
  1. Get the output. The tidy data set will be the newly-created file named result.txt in the R working directory.

About

Getting and Cleaning Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages