A project on getting and cleaning data
This project helps to demonstrate the collection and cleaning of a raw data set to produce a tidy data set that can be used subsequently for further analysis. A full description of the data employed in this project can be found at The UCI Machine Learning Repository
The source data for this project can be found here.
Note that on line 2 of run_analysis.R,you will get the working directory having set your own working directory to reflect the location of the source files to be downloaded and unzipped.You then download the files and modify the R file before you process the data.
The following is a summary description of the project instructions
One R script reffered to as run_analysis.R that does the following was created.
- Merges the training and the test sets to create one data set.
- Extracts only the measurements on the mean and standard deviation for each measurement.
- Uses descriptive activity names to name the activities in the data set
- Appropriately labels the data set with descriptive activity names.
- Creates a second, independent tidy data set with the average of each variable for each activity and each subject.
Additional information about the variables, data and transformations can be found in the CodeBook.MD file.