This repository contains the final course project for the course Getting and Cleaning Data.
The dataset used for this project is available at this weblink. The original full description of the dataset can be found here.
The project directory contains the following files-
describes the variables along with their descriptions, the data, and any transformations performed to clean up the data.
The r script run_analysis.R completes the following tasks.
- Download the dataset if it is not already available in the current working directory.
- Load the activity and
- Uses descriptive activity names to name the activities in the data set
- 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 variable names.
- Creates a tidy dataset which contains average of each variable for each activity and each subject.
contains the resulting output dataset created in 8th step.
To use the run_analysis script -
- Download the dataset from this weblink. .
- Unzip the dataset files.
- Put the run_analysis.R script in the base directory of the dataset.
- Execute the run_analysis.R script.