Learn R Programming

pointdexter (version 0.1.1)

community_areas_spdf: A SpatialPolygonsDataFrame of Chicago's 77 community areas

Description

77 community area boundaries in Chicago that only be used with the sp package.

Usage

data("community_areas_spdf")

Arguments

Format

A SpatialPolygonsDataFrame with 77 observations on the following 2 variables:

community

the name of each community area

area_numbe

the area number for each community(identical to area_num_1)

See Also

  • ?pointdexter::community_areas_sf

Examples

Run this code
# NOT RUN {
# load necessary packages ----
library(sp)

# load necessary data ----
data("community_areas_spdf")

# plot all 77 community areas -----
par(mar = c(0, 0, 1, 0))

plot(community_areas_spdf
     , main = "Chicago's 77 community areas"
     , col = "gray85"
     , border = "dodgerblue4")
# }

Run the code above in your browser using DataLab