Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

obtaining, cleaning, tiding and returning a dataset for a coursera course

Notifications You must be signed in to change notification settings

carlmcqueen/gettingandcleaningdataproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

gettingandcleaningdataproject

Data for this is to be uploaded. As a result, code to pull and unpackage have been commented out.

RunAnalysis.R

This script uses the UCI HAR Dataset data which can be found here: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip

Once this file is unzipped it makes directories for testing and training.

This script makes combined data sets for the X var, the Y var and the Subject data.

Once these have been combined it goes into the new data and computes and extracts the mean and standard deviation of the data for each of the subject, x, and y data.

It then finds unique subjects, counts them, numbers the activities and runs two for loops to populate the data.

Finally it writes the data to a table called 'data_set_with_the_averages.txt.'

Finally it runs validations on the data, which I have commented out.

About

obtaining, cleaning, tiding and returning a dataset for a coursera course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages