Skip to content

This repo holds the files to assignment 4 of the Data Science Class: Getting and Cleaning Data

Notifications You must be signed in to change notification settings

jonathandbyrd/GetAndCleanData_Assignment4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: VIEW THE .MD FILES IN RAW MODE ON GITHUB

GetAndCleanData_Assignment4

This repo holds the files to assignment 4 of the Data Science Class: Getting and Cleaning Data

This document will describe what data files are needed and the operations done on those data files to produce the output desired. This document will be broken into the following sections:

BACKGROUND: what the project is about FILES: list of necessary files SCRIPT(S): the name of the analysis/code scripts and what they do INSTRUCTIONS: what to do

BACKGROUND The original experiments were carried out on 30 subjects and a random group was selected to be the "training" group and the rest were by default part of the "test" group. The data was supplied as a .zip file that contain two folders: train and test which contain the file of importance. The strategy will be to require the user/tester to unzip the zip archive, rename the folder to "smartphonedata" and copy it to the working directory of R. From that point the scripts will combine the two data sets that had been separated into "test" and "train" and then selecting the variables of interest for later tidying and analysis.

FILES UCI HAR Dataset/test/ subject_test.txt y_test.txt X_test.txt

    UCI HAR Dataset/train/
            subject_train.txt
            y_train.txt
            X_train.txt
    
    UCI HAR Dataset/
            activity_labels.txt
            features.txt

SCRIPT run_analysis.R

INSTRUCTIONS 1. unzip the data archive file: getdata-projectfiles-UCI HAR Dataset.zip 2. copy this unzipped folder into the working directory of R 3. copy the script file "run_analysis.R" to the working directory of R 4. execute the function "run_analysis()"

About

This repo holds the files to assignment 4 of the Data Science Class: Getting and Cleaning Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages