-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeBook.me
More file actions
24 lines (16 loc) · 1.14 KB
/
CodeBook.me
File metadata and controls
24 lines (16 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## This file serves as a code book for the R script
* The data was manually doenaloaded from "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
* The .zip file was extracted and all the required files were placed in the working directory
* There are 5 parts in the R script. Each part is clearly labeled
* The first merges all the txt files to create on dataset.
- temp1 and temp2 variables were used to temporarly read the text files
- S, X and Y variables were used to merge the Subject, x and Y test and train datasets
* The second extracts certain features from the merged data set
- feature variable was used to read the featuers text file.
- Selected_features variable was used to select the mean and the standard diviation features
* The third names the activities using the descriptive activity names file
- activities variable was used to read the activities file.
* The fourth labels the dataset
- Cleaned is the variable that has the appropriate labels.
* The fifth produces a final tidy dataset that contains the average of each feature.
- final_dataset.txt is the tidy dataset.