Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Montreal R Users Data Dive - Bike accidents
Corey Chivers
April 03, 2013
0
87
Montreal R Users Data Dive - Bike accidents
Corey Chivers
April 03, 2013
Tweet
Share
More Decks by Corey Chivers
See All by Corey Chivers
cjbayesian
1
91
cjbayesian
1
370
cjbayesian
1
1.4k
cjbayesian
1
69
cjbayesian
0
1.3k
cjbayesian
1
430
cjbayesian
0
220
cjbayesian
0
130
cjbayesian
2
7.8k
Featured
See All Featured
reverentgeek
168
7.2k
destraynor
223
47k
garrettdimon
287
110k
jnunemaker
PRO
40
4.6k
malarkey
393
60k
sferik
609
54k
denniskardys
220
120k
lara
172
9.5k
chriscoyier
145
19k
destraynor
146
19k
eileencodes
113
25k
carmenhchung
26
1.3k
Transcript
Welcome to the Data Dive! Sponsored By:
Cycling Collisions • All accidents in Montreal reported 2006-2010 •
Obtained and compiled by Roberta Rocha at the Gazette https://github.com/cjbayesian/collisions
• Can we predict accident rates? • Spatial patterns? Dangerous
areas? • Does the construction holiday have an effect on accident rates? Some potential questions
Getting Started library(lubridate) library(maptools) library(Hmisc) d<-read.csv('data/Bike Accidents.csv',sep='|') mtl<-readShapePoly('data/montreal_borough_borders.shp') par(bg='black') plot(mtl,col='grey')
points(d$long,d$lat,col='red',pch=20,cex=0.5) https://github.com/cjbayesian/collisions http://youtu.be/hJE2_XMdfTk
• Can we predict accident rates? • Spatial patterns? Dangerous
areas? • Does the construction holiday have an effect on accident rates? Some potential questions