Author: [email protected]
This course project is done for my Cousera course Getting and Cleaning Data. The project is to process some raw data from Human Activity Recognition Using Smartphones Dataset, which can be download from https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip. In this repo there are two files - run_analysis.R and code_book.txt. The file run_analysis.R is a R script to processthe raw data and generate tidy data into a file - tidy_data.txt. The file code_book.txt is the code book for tidy_data.txt.
- Download the raw data set from https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip.
- Unzip the zip file to your local disk and you get a "UCI HAR Dataset" directory.
- In R, set working directory to the "UCI HAR Dataset" directory, and copy run_analysis.R to this dir.
- In R, source run_analysis.R.
- Run run_analysis.R.