Skip to content

hpgerald/Getting-and-Cleaning-Samsung-Wearable-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Class Project for "Getting and Cleaning Data"

The class project for Getting and Cleaning Data was to read in the "Human Activity Recognition Using Smartphones" data set, perform an analysis on the data set, and output a tidy data set.

Here are the steps that must be performed before running the R script:

  1. Download the zip file from this URL.
  2. Unzip the file.
  3. Move ALL of the following files to the SAME DIRECTORY as the R script:
    • features.txt
    • subject_train.txt
    • subject_test.txt
    • X_train.txt
    • X_test.txt
    • y_train.txt
    • y_test.txt

Once those steps are complete, you can run the R script (run_analysis.R). Note that it requires the reshape2 package, which can be downloaded from CRAN.

The output of the R script is a tidy data set, tidy.csv.

You can read more about the data and the analysis in the code book.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages