Description Format Source Examples
Three polygons of putative food deserts in the longitude and
latitude format (see proj4string=CRS("+proj=longlat +ellps=WGS84")
).
Spatial polygon data-frame with 3 areas and the following variables:
Internal polygon ID
Neighborhood area in square miles
Factor witht he name of the three neighborhoods
Dallas Morning News Nov 16, 2016 (see https://www.dallasnews.com/opinion/editorials/2016/11/16/will-southern-dallas-food-deserts-get-relief)
1 2 3 4 5 6 7 8 9 10 | library(maptools)
validTractShp <- tractShp[!is.na(tractShp$BUYPOW), ] # Remove 2 tracts with NA's
plot(tractShp, col="white", border="white", axes=TRUE,
main="Dallas Census Tracts with Food Deserts")
plot(validTractShp, col="ivory2", border="white", add=TRUE)
plot(lakesShp, col="skyblue", border="skyblue",add=TRUE)
plot(hwyShp, col="cornsilk3", lwd=3, add=TRUE)
plot(foodDesertShp, border="magenta",lwd=2, add=TRUE)
plot(bndShp, border="black", add=TRUE)
box()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.