This package contains sample spatial data for the five boroughs of New York City as a
SpatialPolygonsDataFrame
.
Install
devtools::install_github("sboysel/nycboroughs")
library(nycboroughs)
Call the boroughs
object directly
summary(boroughs)
plot(boroughs)
You can also preview the source data using GitHub's GeoJSON rendering feature.
New York City Department of City Planning via NYC OpenData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.