As part of the course project I have submitted a R script named run_analysis.R which will clean the dataset provided.The codebook.txt contains the detail documentation for following my code.
Checking if the dataset directory exists or not to proceed further.
Read the necessary files(training set data,test set data and the file containing the features and activity list were read as these are the required files that i need to proceed.)
Added subject and activity values to the training and test sets
Merged the the tarining and test set
Extracted only the measurements on the mean and standard deviation for each measurement along with subject and activity
Modified the activity values with meaningful names
Modified the column variables with more meaningful names
created an independent tidy data set with the average of each variable for each activity and each subject
wrote the data out to a file