Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 543 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 543 Bytes

Getting the tidy data

Download the data

url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" 
download.file(url=url, destfile="data", method="curl")
unzip(zipfile="data")

Copy run_analysis.R file

url <-"https://raw.githubusercontent.com/natvau/gettingAndCleaningData/master/run_analysis.R"
download.file(url=url, destfile="run_analysis.R", method="curl")

Source the file

source("run_analysis.R")