Learn R Programming

pointdexter (version 0.1.1)

city_boundary_spdf: A SpatialPolygonsDataFrame of the city boundary of Chicago

Description

A SpatialPolygonsDataFrame of the city boundary of Chicago that can only be used with the sp package.

Usage

data("city_boundary_spdf")

Arguments

Format

A SpatialPolygonsDataFrame with 1 observation on the following 4 variables:

name

CHICAGO

objectid

value of 1

shape_area

the approximate area of the polygon in square meters

shape_len

unknown

See Also

  • ?pointdexter::city_boundary_sf

Examples

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

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

# plot Chicago ----
par(mar = c(0, 0, 1, 0))

plot(city_boundary_spdf
     , main = "City of Chicago boundary"
     , col = "gray85"
     , border = "dodgerblue4")
# }

Run the code above in your browser using DataLab