Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Getting and Cleaning Data

Course Project

You should create one R script called run_analysis.R that does the following.

  1. Merges the training and the test sets to create one data set.
  2. Extracts only the measurements on the mean and standard deviation for each measurement.
  3. Uses descriptive activity names to name the activities in the data set
  4. Appropriately labels the data set with descriptive activity names.
  5. Creates a second, independent tidy data set with the average of each variable for each activity and each subject.

Steps to work on this course project

  1. The code checks in the working directory for data if it doesnt find, it downloads and extracts

  2. Run source("run_analysis.R"), then it will generate a new file tiny_data.txt in your working directory.

Dependencies

reshape2 and data.table.

  • code to install them automatically is present

About

Getting_and_cleaning_data_project2

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages