Montreal R Users Data Dive - Bike accidents

5779dc3bf8c8a0c9dadb7ff95c67e9e3?s=47 Corey Chivers
April 03, 2013
86

Montreal R Users Data Dive - Bike accidents

5779dc3bf8c8a0c9dadb7ff95c67e9e3?s=128

Corey Chivers

April 03, 2013
Tweet

Transcript

  1. Welcome to the Data Dive! Sponsored By:

  2. Cycling Collisions • All accidents in Montreal reported 2006-2010 •

    Obtained and compiled by Roberta Rocha at the Gazette https://github.com/cjbayesian/collisions
  3. • Can we predict accident rates? • Spatial patterns? Dangerous

    areas? • Does the construction holiday have an effect on accident rates? Some potential questions
  4. 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
  5. • Can we predict accident rates? • Spatial patterns? Dangerous

    areas? • Does the construction holiday have an effect on accident rates? Some potential questions