newhaven | R Documentation |
Data set from New Haven (CT) crime web site containing point sources of some crimes, plus roads, railways and census block spatial data frames.
data(newhaven)
blocks Census blocks SpatialPolygonsDataFrame
roads Roads SpatialLinesDataFrame
places Place names SpatialPointsDataFrame
breach Breach of peace SpatialPointsDataFrame
famdisp Family dispute SpatialPointsDataFrame
tracts Census tracts SpatialPolygonsDataFrame
burgres.f Residential Burglary (Forced) SpatialPointsDataFrame
burgres.n Residential Burglary (Non-Forced) SpatialPointsDataFrame
http://www.newhavencrimelog.org/
# Read in map data for New Haven
data(newhaven)
# Plot census block boundaries
plot(blocks)
# Add a map scale
map.scale(534750,152000,miles2ft(2),"Miles",4,0.5,sfcol='red')
# ... and a title
title('New Haven (CT)')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.