Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
alehaak committed Jun 10, 2016
1 parent 2a25193 commit 6c2d0ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Getting and Cleaning Data/Week 3/Quiz week 3.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#Question1
fileurl1 = 'https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv'
dst1 = '/Users/zhusiqi/Desktop/coursera/R_jhu/geting_and_cleaning_data/week3/q1.csv'
download.file(fileurl1, dst1)
data1 = read.csv(dst1)
fileUrl1 = 'https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv'
fileName = './data/q1.csv'
download.file(fileUrl1, fileName)
data1 = read.csv(fileName)
agricultureLogical = data1$ACR == 3 & data1$AGS == 6
head(which(agricultureLogical), 3)

Expand Down

0 comments on commit 6c2d0ca

Please sign in to comment.