Peer Graded Assignment: Getting and Cleaning Data Course Project
http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
Download & load packages.
install.packages("data.table")
packages <- c("data.table")
sapply(packages, require, character.only=TRUE, quietly=TRUE)
2, Download and put the "run_analysis.R" file at the same floder which "UCI HAR Dataset" folder is exsting, then make them at the same level
root_folder
- "UCI HAR Dataset"
- "run_analysis.R"
Go inside the root folder and run "run_analysis.R" file.
source("run_analysis.R");
root_folder
- "UCI HAR Dataset"
-- "tidyDataset.txt"