library(leaflet) library(sp)
biketheft <- read.csv(“biketheft.csv”)
biketheft\(Longitude <- as.numeric(biketheft\)Longitude) biketheft\(Latitude <- as.numeric(biketheft\)Latitude)
Author: Clara Morin
Data Source:
VPD Data Portal
(2022)
GEOS 372 | Lab Section L2B
” ) %>% addLegend( position = “bottomright”, colors = c(“#91d467”,“#ebc83d”,“#f68f42”), labels = c(“< 10”, “< 100”, “100+”), opacity = 1, title = “Number of Bike Thefts” )
m